APPEALBENEFITDETAIL
The benefit items associated with a benefit level on an appeal.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
VALUE |
money |
|
Default = 0 |
The unit cost for this benefit item. |
QUANTITY |
int |
|
Default = 0 |
The number of benefit items associated with this detail record. |
SEQUENCE |
int |
|
Default = 0 |
The sequence of the benefit item within the benefit level. |
DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
TS |
timestamp |
|
|
Timestamp. |
TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
VALUEPERCENT |
decimal(20, 4) |
|
Default = 0 |
|
ORGANIZATIONVALUE |
money |
|
Default = 0 |
The unit cost for this benefit item in organization currency. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
APPEALBENEFITID |
uniqueidentifier |
|
APPEALBENEFIT.ID
|
The benefit level to which this benefit detail record belongs. |
BENEFITID |
uniqueidentifier |
|
BENEFIT.ID
|
The benefit catalog item for this detail record. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert from value to organization value. |
BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this appealbenefitdetail. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_APPEALBENEFITDETAIL_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_APPEALBENEFITDETAIL_DATEADDED |
DATEADDED |
|
|
yes |
IX_APPEALBENEFITDETAIL_DATECHANGED |
DATECHANGED |
|
|
|
IX_APPEALBENEFITDETAIL_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
PK_APPEALBENEFITDETAIL |
ID |
yes |
yes |
|
Triggers