Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 DATESENT datetime   Date this correspondence was sent.
 COMMENTS nvarchar(255)   Default = '' Comments for this correspondence.
 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
 CONSTITUENTID uniqueidentifier   CONSTITUENT.LOCALID The constituent to which this correspondence belongs.
 CORRESPONDENCECODEID uniqueidentifier CORRESPONDENCECODE.ID The correspondence code of this correspondence.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CORRESPONDENCEPROCESSRUNHISTORYID uniqueidentifier CORRESPONDENCEPROCESSRUNHISTORY.ID The correspondence process run that sent this correspondence.

Index Name Field(s) Unique Primary Clustered
 IX_CONSTITUENTCORRESPONDENCE_CONSTITUENTID CONSTITUENTID      
 IX_CONSTITUENTCORRESPONDENCE_DATEADDED DATEADDED    
 IX_CONSTITUENTCORRESPONDENCE_DATECHANGED DATECHANGED      
 PK_CONSTITUENTCORRESPONDENCE ID  

Trigger Name Description
 TR_CONSTITUENTCORRESPONDENCE_AUDIT_UPDATE
 TR_CONSTITUENTCORRESPONDENCE_AUDIT_DELETE
 TR_CONSTITUENTCORRESPONDENCE_TASYNC_I
 TR_CONSTITUENTCORRESPONDENCE_TASYNC_U
 TR_CONSTITUENTCORRESPONDENCE_TASYNC_D

Referenced by Field
 CONSTITUENTCORRESPONDENCERESPONSE CONSTITUENTCORRESPONDENCEID

Entity-Relationship diagram of this table