Table: Benefit_Factor
Columns
Name | Type | Constraints | Description
benefit_factor_KEY | int | NOT NULL | Assigned by COMMON_dp_Allocate_Unique_Identifiers. Primary key for this table, same value as activity_KEY.
update__staff_KEY | int | NOT NULL |
update_date | datetime | NOT NULL |
create_date | datetime | NOT NULL |
benefit_KEY | int | NOT NULL | Key to a Benefit that the benefit factor is for.
benefit_entry_type_KEY | int | NOT NULL | Key to a benefit entry type that this benefit factor is.
factor | decimal (9, 2) | NOT NULL | The allowance benefit factor.
to_month | int | NOT NULL | The end month of this benefit factor.
to_day | int | NOT NULL | The end day of this benefit factor.
sortable_to_date | smalldatetime | NOT NULL |

Primary key
Name | Columns | Description
PK_Benefit_Factor$benefit_factor_KEY | benefit_factor_KEY | CLUSTERED
Unique constraints
Name | Columns | Description
UK_Benefit_Factor__benefit_KEY__benefit_entry_type_KEY__to_month__to_day | benefit_KEY, benefit_entry_type_KEY, to_month, to_day |
Indexes
Name | Columns | Description
IX_Benefit_Factor$benefit_entry_type_KEY | benefit_entry_type_KEY | Index supports foreign key FK_Benefit_Factor__Benefit_Entry_Type__benefit_entry_type_KEY
IX_Benefit_Factor$sortable_to_date | sortable_to_date |

Foreign keys
Name | Columns | Referenced table | Description
FK_Benefit_Factor__Benefit__benefit_KEY | benefit_KEY | Benefit | on delete cascade;
FK_Benefit_Factor__Benefit_Entry_Type__benefit_entry_type_KEY | benefit_entry_type_KEY | Benefit_Entry_Type |