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.
employee_KEYint (4)NOT NULLForeign key into the employee table.
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
w2_override_type_KEYint (4)NOT NULLThe foreign key into the W2_Override_Type table.
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.
Primary key
NameColumnsDescription
PK_Employee_W2_Tax_Jurisdiction_Overrideemployee_w2_tax_jurisdiction_override_KEY
Unique constraints
NameColumnsDescription
UK_Employee_W2_Tax_Jurisdiction_Override$employee_KEY$tax_jurisdiction_KEY$is_nonstandard$w2_override_type_KEYemployee_KEY, tax_jurisdiction_KEY, is_nonstandard, w2_override_type_KEY
Foreign keys
NameColumnsReferenced tableDescription
FK_Employee_W2_Tax_Jurisdiction_Override__Employee__employee_KEYemployee_KEYEmployee (employee_KEY)
FK_Employee_W2_Tax_Jurisdiction_Override__Tax_Jurisdiction__tax_jurisdiction_KEYtax_jurisdiction_KEYTax_Jurisdiction (tax_jurisdiction_KEY)
FK_Employee_W2_Tax_Jurisdiction_Override__W2_Override_Type__w2_override_type_KEYw2_override_type_KEYW2_Override_Type (w2_override_type_KEY)

Schema diagram