Table: dbo.Employee_W2_Box_12_Override
The table used to store the overrides for an Employee's box 12 information.
Columns
Name | Type | Constraints | Description
employee_w2_box_12_override_KEY | int (4) | NOT NULL | Primary key.
w2_compensation_code_type_KEY | int (4) | NOT NULL | Foreign key into the W2 Compensation Code Type table.
amount | decimal (9, 2) | NOT NULL | Override for the Box 12 amount.
employee_w2_filing_KEY | int (4) | NOT NULL | Key in the Employee_W2_Filing table which indicates the type of filing and period end year for the overrides

Primary key
Name | Columns | Description
PK_Employee_W2_Box_12_Override | employee_w2_box_12_override_KEY |
Unique constraints
Name | Columns | Description
UK_Employee_W2_Box_12_Override$employee_w2_filing_KEY$w2_compensation_code_type_KEY | employee_w2_filing_KEY, w2_compensation_code_type_KEY |

Foreign keys
Name | Columns | Referenced table | Description
FK_Employee_W2_Box_12_Override__W2_Compensation_Code_Type__w2_compensation_code_type_KEY | w2_compensation_code_type_KEY | W2_Compensation_Code_Type (w2_compensation_code_type_KEY) |
FK_Employee_W2_Box_12_Override__Employee_W2_Filing__employee_w2_filing_KEY | employee_w2_filing_KEY | Employee_W2_Filing (employee_w2_filing_KEY) | FOREIGN KEY constraint of employee_w2_filing_KEY for the Employee_W2_Box_12_Override table which ensures the Employee_W2_Box_12_Override is for a valid filing