Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(100)   Default = '' The name of the parameter set.
 DESCRIPTION nvarchar(255)   Default = '' The description of the parameter set.
 LETTERFILENAME nvarchar(255)   Default = '' The original file name for the attachment.
 LETTERFILE varbinary The actual file for the attachment.
 LABELFILENAME nvarchar(255)   Default = '' The original file name for the attachment.
 LABELFILE varbinary The actual file for the attachment.
 UPDATECONSTITUENTRECORD bit   Default = 0 Update constituent record with correspondence details.
 COMMENTS nvarchar(255)   Default = '' Comments that will be inserted in the constituent's correspondence record.
 CREATEOUTPUTIDSET bit   Default = 0 Designates whether or not an ID set should be created as a result of the process.
 OUTPUTIDSETNAME nvarchar(100)   Default = '' The name of the output ID set to be created by the process.
 OVERWRITEOUTPUTIDSET bit   Default = 0 Designates whether or not to overwrite the output ID set if one with the same name already exists.
 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.
 EXCLUDEMAIL bit   Default = 0 Exclude constituents who prefer not to be contacted by mail.
 EXCLUDEPHONE bit   Default = 0 Exclude constituents who prefer not to be contacted by phone.
 EXCLUDEEMAIL bit   Default = 0 Exclude constituents who prefer not to be contacted by email.
 CUSTOMPARAMETERDATAFORMITEM xml Custom parameters for the process.
 HOUSEHOLDSINGLEMAIL bit   Default = 0
 ISACTIVE bit   Default = 1 Indicates whether the process is active.

Foreign Key Field Type Null Notes Description
 IDSETREGISTERID uniqueidentifier   IDSETREGISTER.ID A foreign key to the ID set used to filter the records included in the post process.
 QUERYVIEWID uniqueidentifier QUERYVIEWCATALOG.ID A foreign key to the query view used as output format for this letter.
 CORRESPONDENCECODEID uniqueidentifier CORRESPONDENCECODE.ID A foreign key to the view to use as output for the parameter set.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 EXPORTDEFINITIONID uniqueidentifier EXPORTDEFINITION.ID FK to EXPORTDEFINITION

Index Name Field(s) Unique Primary Clustered
 IX_CORRESPONDENCEPROCESS_DATEADDED DATEADDED    
 IX_CORRESPONDENCEPROCESS_DATECHANGED DATECHANGED      
 IX_CORRESPONDENCEPROCESS_EXPORTDEFINITIONID EXPORTDEFINITIONID      
 IX_CORRESPONDENCEPROCESS_ID ID      
 IX_CORRESPONDENCEPROCESS_IDSETREGISTERID IDSETREGISTERID      
 IX_CORRESPONDENCEPROCESS_QUERYVIEWID QUERYVIEWID      
 PK_CORRESPONDENCEPROCESS ID  
 UC_CORRESPONDENCEPROCESS_NAME NAME    

Trigger Name Description
 TR_CORRESPONDENCEPROCESS_INSERT
 TR_CORRESPONDENCEPROCESS_AUDIT_UPDATE
 TR_CORRESPONDENCEPROCESS_AUDIT_DELETE
 TR_CORRESPONDENCEPROCESS_DELETE_BUSINESSPROCESSINSTANCE

Referenced by Field
 CORRESPONDENCEPROCESSEXPORTFORMAT PARAMETERSETID
 CORRESPONDENCEPROCESSSTATUS PARAMETERSETID
 MAILPREFERENCE CORRESPONDENCEID

Entity-Relationship diagram of this table