FAFGIFTACKNOWLEDGEMENT

FAF gift acknowledgement

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
ISACKNOWLEDGED bit Default = 0 Whether the gift is acknowledged or not
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
EVENTID uniqueidentifier EVENT.ID Foreign Key to EVENT table
REVENUESPLITID uniqueidentifier FINANCIALTRANSACTIONLINEITEM.ID Foreign Key to REVENUESPLIT table
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_FAFGIFTACKNOWLEDGEMENT_DATEADDED DATEADDED yes
IX_FAFGIFTACKNOWLEDGEMENT_DATECHANGED DATECHANGED
PK_FAFGIFTACKNOWLEDGEMENT ID yes yes
UIX_FAFGIFTACKNOWLEDGEMENT_EVENTID_REVENUESPLITID EVENTID, REVENUESPLITID yes

Triggers

Trigger Name Description
TR_FAFGIFTACKNOWLEDGEMENT_AUDIT_UPDATE
TR_FAFGIFTACKNOWLEDGEMENT_AUDIT_DELETE