Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 QUANTITY int   Default = 0 Number of benefits
 UNITVALUE money   Default = 0 Cost or percentage of the benefit
 DETAILS nvarchar(255)   Default = '' Comments
 SEQUENCE int   Default = 0
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 ORGANIZATIONUNITVALUE money   Default = 0 The cost or percentage of the benefit in organization currency.

Foreign Key Field Type Null Notes Description
 RECOGNITIONLEVELID uniqueidentifier   RECOGNITIONLEVEL.ID The recognition level for this benefit record.
 BENEFITID uniqueidentifier   BENEFIT.ID The benefit for this record.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this recognition program.
 ORGANIZATIONEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from maximum gift amount to organization maximum gift amount.

Index Name Field(s) Unique Primary Clustered
 IX_RECOGNITIONLEVELBENEFIT_BASECURRENCYID BASECURRENCYID      
 IX_RECOGNITIONLEVELBENEFIT_BENEFITID BENEFITID      
 IX_RECOGNITIONLEVELBENEFIT_DATEADDED DATEADDED    
 IX_RECOGNITIONLEVELBENEFIT_DATECHANGED DATECHANGED      
 IX_RECOGNITIONLEVELBENEFIT_ORGANIZATIONEXCHANGERATEID ORGANIZATIONEXCHANGERATEID      
 IX_RECOGNITIONLEVELBENEFIT_RECOGNITIONLEVELID RECOGNITIONLEVELID      
 PK_RECOGNITIONLEVELBENEFIT ID  

Trigger Name Description
 TR_RECOGNITIONLEVELBENEFIT_INSERTUPDATE_CURRENCY
 TR_RECOGNITIONLEVELBENEFIT_AUDIT_UPDATE
 TR_RECOGNITIONLEVELBENEFIT_AUDIT_DELETE

Entity-Relationship diagram of this table