| Table: dbo.Employee_W2_Tax_Jurisdiction_Override | |||
| The table used to store the overrides for an Employee's state information. | |||
| Columns | |||
| Name | Type | Constraints | Description |
| employee_w2_tax_jurisdiction_override_KEY | int (4) | NOT NULL | Primary key. |
| tax_jurisdiction_KEY | int (4) | NOT NULL | Foreign key into the tax jurisdiction table. |
| wages | decimal (9, 2) | Override for the employee's state wages. | |
| tax | decimal (9, 2) | Override for the employee's state taxes | |
| is_nonstandard | bit (1) | NOT NULL | Boolean value representing whether this override corresponds to a nonstandard tax jurisdiction. CA SDI is treated as a local, but uses the state tax jurisdiction key. NJ FLI is treated as a state, but behaves differently from other states. |
| 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_Tax_Jurisdiction_Override | employee_w2_tax_jurisdiction_override_KEY | ||
| Unique constraints | |||
| Name | Columns | Description | |
| UK_Employee_W2_Tax_Jurisdiction_Override$employee_w2_filing_KEY$tax_jurisdiction_KEY$is_nonstandard | employee_w2_filing_KEY, tax_jurisdiction_KEY, is_nonstandard | ||
| Foreign keys | |||
| Name | Columns | Referenced table | Description |
| FK_Employee_W2_Tax_Jurisdiction_Override__Tax_Jurisdiction__tax_jurisdiction_KEY | tax_jurisdiction_KEY | Tax_Jurisdiction (tax_jurisdiction_KEY) | |
| FK_Employee_W2_Tax_Jurisdiction_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_Tax_Jurisdiction_Override table which ensures the Employee_W2_Tax_Jurisdiction_Override is for a valid filing |