Table: dbo.Employee_W2_Box_12_Other_Item
A table to hold Box 12 other items for employees. This allows Box 12 items without association to a pay item
Columns
Name | Type | Constraints | Description
employee_w2_box_12_other_item_KEY | int (4) | NOT NULL | Primary key for this table
employee_KEY | int (4) | NOT NULL | The employee key for this Box 12 item. This field combined with the processing_year and the w2_compensation_code_type_KEY fields must be unique
w2_compensation_code_type_KEY | int (4) | NOT NULL | The w2 compensation code type for this Box 12 item. This field combined with the processing_year and the employee_KEY fields must be unique
processing_year | int (4) | NOT NULL | The year that this Box 12 item is valid. This field combined with the employee_KEY and the w2_compensation_code_type_KEY fields must be unique
amount | decimal (9, 2) | NOT NULL | The amount for this Box 12 item

Primary key
Name | Columns | Description
PK_Employee_W2_Box_12_Other_Item | employee_w2_box_12_other_item_KEY |
Unique constraints
Name | Columns | Description
UK_Employee_W2_Box_12_Other_Item$employee_KEY$w2_compensation_code_type_KEY$processing_year | employee_KEY, w2_compensation_code_type_KEY, processing_year |

Foreign keys
Name | Columns | Referenced table | Description
FK_Employee_W2_Box_12_Other_Item__Employee__employee_KEY | employee_KEY | Employee (employee_KEY) |
FK_Employee_W2_Box_12_Other_Item__W2_Compensation_Code_Type__w2_compensation_code_type_KEY | w2_compensation_code_type_KEY | W2_Compensation_Code_Type (w2_compensation_code_type_KEY) |