Table: dbo.Employee_W2_Box_14_Other_Item
A table to hold Box 14 other items for employees. This allows Box 14 items without association to a pay item
Columns
NameTypeConstraintsDescription
employee_w2_box_14_other_item_KEYint (4)NOT NULLPrimary key for this table
employee_KEYint (4)NOT NULLThe employee key for this Box 14 item. This field combined with the processing_year and the description fields must be unique
descriptionnvarchar (50)NOT NULLThe description displayed for this Box 14 item. This field combined with the processing_year and the employee_KEY fields must be unique
processing_yearint (4)NOT NULLThe year that this Box 14 item is valid. This field combined with the employee_KEY and the description fields must be unique
amountdecimal (9, 2)NOT NULLThe amount for this Box 14 item
Primary key
NameColumnsDescription
PK_Employee_W2_Box_14_Other_Itememployee_w2_box_14_other_item_KEY
Unique constraints
NameColumnsDescription
UK_Employee_W2_Box_14_Other_Item$employee_KEY$description$processing_yearemployee_KEY, description, processing_year
Foreign keys
NameColumnsReferenced tableDescription
FK_Employee_W2_Box_14_Other_Item__Employee__employee_KEYemployee_KEYEmployee (employee_KEY)

Schema diagram