Table: dbo.Creditor_Garnishment_Order
Contains creditor garnishment orders for employee payroll items.
Columns
Name | Type | Constraints | Description
creditor_garnishment_order_KEY | int (4) | NOT NULL | Primary key.
employee_payroll_item_KEY | int (4) | NOT NULL | Each creditor garnishment is linked to an employee payroll item. More than one creditor garnishment can be associated with an employee payroll item.
case_identifier | nvarchar (40) | NOT NULL | Case identifier - determined by the creditor that issued the garnishment order.
order_date | smalldatetime (4) | NOT NULL | Order date.
ste_state_code_KEY | nvarchar (4) | NOT NULL | Symmetry code for the state from which the order originated.
ste_county_KEY | int (4) |  | The county in which the order originated. Not required for most states.
vendor_KEY | int (4) |  | The agent (vendor) to whom payment is due.
amount | decimal (9, 2) | NOT NULL | Garnishment amount.
total_order_amount | decimal (9, 2) | NOT NULL | Total amount limit of this order.
payroll_item_special_timing_KEY | int (4) | NOT NULL | Foreign key into the Payroll Item Special timing table.
inactive_date | smalldatetime (4) |  | Optional date when to stop calculating the garnishment. Date checking will be skipped when the date is null.

Primary key
Name | Columns | Description
PK_Creditor_Garnishment_Order | creditor_garnishment_order_KEY |
Unique constraints
Name | Columns | Description
UK_Creditor_Garnishment_Order$payroll_item_special_timing_KEY | payroll_item_special_timing_KEY |

Foreign keys
Name | Columns | Referenced table | Description
FK_Creditor_Garnishment_Order__Employee_Payroll_Item__employee_payroll_item_KEY | employee_payroll_item_KEY | Employee_Payroll_Item (employee_payroll_item_KEY) |
FK_Creditor_Garnishment_Order__Payroll_Item_Special_Timing__payroll_item_special_timing_KEY | payroll_item_special_timing_KEY | Payroll_Item_Special_Timing (payroll_item_special_timing_KEY) |
FK_Creditor_Garnishment_Order__Ste_County__ste_county_KEY | ste_county_KEY | Ste_County (ste_county_KEY) |
FK_Creditor_Garnishment_Order__Ste_State_Code__ste_state_code_KEY | ste_state_code_KEY | Ste_State_Code (ste_state_code_KEY) |
FK_Creditor_Garnishment_Order__Vendor__vendor_KEY | vendor_KEY | Vendor (vendor_KEY) |

Incoming foreign keys
Name | Columns | Referencing table | Description
FK_Payroll_Check_Payroll_Item_Distribution_Creditor_Garnishment_Detail__Creditor_Garnishment_Order__creditor_garnishment_order_K | creditor_garnishment_order_KEY | Payroll_Check_Payroll_Item_Distribution_Creditor_Garnishment_Detail |