| 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 | ![]() |
![]() |
| Referenced by | Field |
|---|---|
CONSTITUENTCORRESPONDENCERESPONSE |
CONSTITUENTCORRESPONDENCEID |

ID
DATESENT
TSLONG
CONSTITUENTID
IX_CONSTITUENTCORRESPONDENCE_CONSTITUENTID
IX_CONSTITUENTCORRESPONDENCE_DATEADDED