Table: dbo.Employee_W2_Tax_Jurisdiction_Override
The table used to store the overrides for an Employee's state information.
Columns
NameTypeConstraintsDescription
employee_w2_tax_jurisdiction_override_KEYint (4)NOT NULLPrimary key.
tax_jurisdiction_KEYint (4)NOT NULLForeign key into the tax jurisdiction table.
wagesdecimal (9, 2)Override for the employee's state wages.
taxdecimal (9, 2)Override for the employee's state taxes
is_nonstandardbit (1)NOT NULLBoolean 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_KEYint (4)NOT NULLKey in the Employee_W2_Filing table which indicates the type of filing and period end year for the overrides
Primary key
NameColumnsDescription
PK_Employee_W2_Tax_Jurisdiction_Overrideemployee_w2_tax_jurisdiction_override_KEY
Unique constraints
NameColumnsDescription
UK_Employee_W2_Tax_Jurisdiction_Override$employee_w2_filing_KEY$tax_jurisdiction_KEY$is_nonstandardemployee_w2_filing_KEY, tax_jurisdiction_KEY, is_nonstandard
Foreign keys
NameColumnsReferenced tableDescription
FK_Employee_W2_Tax_Jurisdiction_Override__Tax_Jurisdiction__tax_jurisdiction_KEYtax_jurisdiction_KEYTax_Jurisdiction (tax_jurisdiction_KEY)
FK_Employee_W2_Tax_Jurisdiction_Override__Employee_W2_Filing__employee_w2_filing_KEYemployee_w2_filing_KEYEmployee_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

Schema diagram