SPONSORBENEFITEXTENSION (3.0)

FAF Event Benefit Extension

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SPONSORID

uniqueidentifier

false

Foreign Key to EVENTSPONSOR table

BENEFITID

uniqueidentifier

false

Foreign key to BENEFIT table

EVENTSPONSORSHIPTYPEID

uniqueidentifier

false

FK to EVENTSPONSORSHIPTYPE

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

BASECURRENCYID

uniqueidentifier

true

The base currency associated with the benefit.

Fields
Field Field Type Null Notes Description

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.

QUANTITY

int

false

0

The number of benefit items associated with this detail record.

DETAILS

nvarchar(255)

false

''

UNITVALUE

money

false

0

The unit value of the benefit item.

TOTALVALUE

money

false

0

Then total value of the benefit item(s).

Indexes
Index Name Field(s) Unique Primary Clustered

IX_SPONSORBENEFITEXTENSION_DATEADDED

DATEADDED

False

False

True

IX_SPONSORBENEFITEXTENSION_DATECHANGED

DATECHANGED

False

False

False

IX_SPONSORBENEFITEXTENSION_SPONSORID_BENEFITID_EVENTSPONSORSHIPTYPEID

SPONSORID

BENEFITID

EVENTSPONSORSHIPTYPEID

False

False

False

PK_SPONSORBENEFITEXTENSION

ID

True

True

False

Triggers
Trigger Name Description

TR_SPONSORBENEFITEXTENSION_AUDIT_UPDATE

TR_SPONSORBENEFITEXTENSION_AUDIT_DELETE