Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 PROCESSDATE datetime Date acknowledgement process was run for this letter.
 ACKNOWLEDGEDATE datetime Date letter was sent.
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 REVENUETRIBUTEID uniqueidentifier   REVENUETRIBUTE.LOCALID A foreign key to the REVENUETRIBUTE table.
 CONSTITUENTID uniqueidentifier   CONSTITUENT.LOCALID A foreign key to the CONSTITUENT table.
 TRIBUTELETTERCODEID uniqueidentifier   TRIBUTELETTERCODE.ID A foreign key to the TRIBUTELETTERCODE table.
 TRIBUTEACKNOWLEDGEMENTPROCESSSTATUSID uniqueidentifier TRIBUTEACKNOWLEDGEMENTPROCESSSTATUS.ID A foreign key to the TRIBUTEACKNOWLEDGEMENTPROCESSSTATUS table.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_REVENUETRIBUTELETTER_DATEADDED DATEADDED    
 IX_REVENUETRIBUTELETTER_DATECHANGED DATECHANGED      
 PK_REVENUETRIBUTELETTER ID  
 UIX_REVENUETRIBUTELETTER_REVENUETRIBUTEID_CONSTITUENTID_TRIBUTELETTERCODEID REVENUETRIBUTEID, CONSTITUENTID, TRIBUTELETTERCODEID    

Trigger Name Description
 TR_REVENUETRIBUTELETTER_AUDIT_UPDATE
 TR_REVENUETRIBUTELETTER_AUDIT_DELETE

Entity-Relationship diagram of this table