Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 DESCRIPTION nvarchar(100)   Default = '' Stores the description of the table entry
 ACTIVE bit   Default = 1 Indicates whether or not the table entry is active
 SEQUENCE int   Default = 0 Stores user-defined sequence for the solicit code
 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.
 EXCLUSIONCODE tinyint   Default = 0 0=Optional, 1=Default, 2=Required
 EXCLUSION nvarchar(8) (Computed) CASE [EXCLUSIONCODE] WHEN 0 THEN N'Optional' WHEN 1 THEN N'Default' WHEN 2 THEN N'Required' END Provides a translation for the 'EXCLUSIONCODE' field.

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 SITEID uniqueidentifier SITE.ID FK to SITE

Index Name Field(s) Unique Primary Clustered
 IX_SOLICITCODE_DATEADDED DATEADDED    
 IX_SOLICITCODE_DATECHANGED DATECHANGED      
 PK_SOLICITCODE ID  
 UIX_SOLICITCODE_DESCRIPTION_SITEID DESCRIPTION, SITEID    

Trigger Name Description
 TR_SOLICITCODE_AUDIT_UPDATE
 TR_SOLICITCODE_AUDIT_DELETE
 TR_SOLICITCODE_INSERT_BBNCCODETABLEIDMAP
 TR_SOLICITCODE_DELETE_BBNCCODETABLEIDMAP

Referenced by Field
 BATCHCONSTITUENTSOLICITCODE SOLICITCODEID
 BUSINESSPROCESSCOMMPREFEXCLUSIONS SOLICITCODEID
 BUSINESSPROCESSCOMMPREFINCLUSIONS SOLICITCODEID
 COMMUNICATIONLETTEREXCLUDEDSOLICITCODE SOLICITCODEID
 CONSTITUENTSOLICITCODE SOLICITCODEID
 DECEASINGRULE SOLICITCODEID
 NETCOMMUNITYDEFAULTCODEMAP DONOTEMAILSOLICITCODEID
 REMINDEROPTIONSOLICITCODES SOLICITCODEID
 SIMPLEACKNOWLEDGEMENTSOLICITCODES SOLICITCODEID

Entity-Relationship diagram of this table