Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 STARTDATE datetime Store the date when the solicit code becomes effective.
 ENDDATE datetime Store the date when the solicit code expires
 COMMENTS nvarchar(100)   Default = '' Store comments for this solicit code.
 SEQUENCE int   Default = 0 Stores the user-defined sequence for solicit codes on a constituent.
 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
 BATCHCONSTITUENTID uniqueidentifier   BATCHCONSTITUENT.ID The batch constituent to which this solicit code belongs.
 SOLICITCODEID uniqueidentifier   SOLICITCODE.ID Store the link to SolicitCode table
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_BATCHCONSTITUENTSOLICITCODE_DATEADDED DATEADDED    
 IX_BATCHCONSTITUENTSOLICITCODE_DATECHANGED DATECHANGED      
 PK_BATCHCONSTITUENTSOLICITCODE ID  

Trigger Name Description
 TR_BATCHCONSTITUENTSOLICITCODE_AUDIT_UPDATE
 TR_BATCHCONSTITUENTSOLICITCODE_AUDIT_DELETE

Entity-Relationship diagram of this table