APPEALBENEFIT (4.0SP14)

This table contains the benefit levels for an appeal.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

APPEALID

uniqueidentifier

false

The appeal record to which this benefit belongs.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to convert from goal to organization goal.

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this appealbenefit.

Fields
Field Field Type Null Notes Description

AMOUNT

money

false

0

The minimum amount that qualifies to receive this benefit.

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.

ORGANIZATIONAMOUNT

money

false

0

The minimum amount that qualifies to receive this benefit in organization currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_APPEALBENEFIT_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_APPEALBENEFIT_DATEADDED

DATEADDED

False

False

True

IX_APPEALBENEFIT_DATECHANGED

DATECHANGED

False

False

False

IX_APPEALBENEFIT_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

PK_APPEALBENEFIT

ID

True

True

False

UIX_APPEALBENEFIT_APPEALID_AMOUNT

APPEALID

AMOUNT

True

False

False

Triggers
Trigger Name Description

TR_APPEALBENEFIT_AUDIT_DELETE

TR_APPEALBENEFIT_INSERTUPDATE_CURRENCY

TR_APPEALBENEFIT_AUDIT_UPDATE

Referenced by
Referenced by Field

APPEALBENEFITDETAIL

APPEALBENEFITID