RECOGNITIONLEVELBENEFIT (4.0SP14)

Stores benefits for a recognition level.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

RECOGNITIONLEVELID

uniqueidentifier

false

The recognition level for this benefit record.

BENEFITID

uniqueidentifier

false

The benefit for this record.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this recognition program.

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to convert from maximum gift amount to organization maximum gift amount.

Fields
Field Field Type Null Notes Description

QUANTITY

int

false

0

Number of benefits

UNITVALUE

money

false

0

Cost or percentage of the benefit

DETAILS

nvarchar(255)

false

''

Comments

SEQUENCE

int

false

0

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

ORGANIZATIONUNITVALUE

money

false

0

The cost or percentage of the benefit in organization currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_RECOGNITIONLEVELBENEFIT_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_RECOGNITIONLEVELBENEFIT_BENEFITID

BENEFITID

False

False

False

IX_RECOGNITIONLEVELBENEFIT_DATEADDED

DATEADDED

False

False

True

IX_RECOGNITIONLEVELBENEFIT_DATECHANGED

DATECHANGED

False

False

False

IX_RECOGNITIONLEVELBENEFIT_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

IX_RECOGNITIONLEVELBENEFIT_RECOGNITIONLEVELID

RECOGNITIONLEVELID

False

False

False

PK_RECOGNITIONLEVELBENEFIT

ID

True

True

False

Triggers
Trigger Name Description

TR_RECOGNITIONLEVELBENEFIT_AUDIT_UPDATE

TR_RECOGNITIONLEVELBENEFIT_AUDIT_DELETE

TR_RECOGNITIONLEVELBENEFIT_INSERTUPDATE_CURRENCY