TRIBUTEACKNOWLEDGEE

Stores information pertaining to tribute acknowledgees.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

Foreign Key Field Type Null Notes Description
TRIBUTEID uniqueidentifier TRIBUTE.LOCALID The tribute for this tribute acknowledgee.
CONSTITUENTID uniqueidentifier CONSTITUENT.LOCALID The constituent for this tribute acknowledgee.
TRIBUTELETTERCODEID uniqueidentifier yes TRIBUTELETTERCODE.ID The tribute letter associated with this tribute acknowledgee.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_TRIBUTEACKNOWLEDGEE_DATEADDED DATEADDED yes
IX_TRIBUTEACKNOWLEDGEE_DATECHANGED DATECHANGED
PK_TRIBUTEACKNOWLEDGEE ID yes yes
UIX_TRIBUTEACKNOWLEDGEE_TRIBUTEID_CONSTITUENTID_TRIBUTELETTERCODEID TRIBUTEID, CONSTITUENTID, TRIBUTELETTERCODEID yes

Triggers

Trigger Name Description
TR_TRIBUTEACKNOWLEDGEE_AUDIT_UPDATE
TR_TRIBUTEACKNOWLEDGEE_AUDIT_DELETE