CONSTITUENTSOLICITCODE
                                        Stores all of the solicit codes associated with constituents.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | 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) | yes | CONVERT(bigint, TS) | Numeric representation of the timestamp. | 
                                                
                                                    | STARTDATE | datetime | yes |  | Store the date when the solicit code becomes effective. | 
                                                
                                                    | ENDDATE | datetime | yes |  | Store the date when the solicit code expires | 
                                                
                                                    | COMMENTS | nvarchar(100) |  | Default = '' | Store comments for this solicit code. | 
                                                
                                                    | CONSENTPREFERENCECODE | tinyint |  | Default = 0 |  | 
                                                
                                                    | CONSENTPREFERENCE | nvarchar(11) (Computed) | yes | CASE [CONSENTPREFERENCECODE] WHEN 0 THEN N'No response' WHEN 1 THEN N'Opt-out' WHEN 2 THEN N'Opt-in' END |  | 
                                                
                                                    | SOURCEFILEPATH | nvarchar(260) |  | Default = '' |  | 
                                                
                                                    | PRIVACYPOLICYFILEPATH | nvarchar(260) |  | Default = '' |  | 
                                                
                                                    | SUPPORTINGINFORMATION | nvarchar(max) |  | Default = '' |  | 
                                                
                                                    | CONSENTSTATEMENT | nvarchar(max) |  | Default = '' |  | 
                                            
                                        
                                        Foreign Keys
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_CONSTITUENTSOLICITCODE_CONSTITUENTID | CONSTITUENTID |  |  |  | 
                                                
                                                    | IX_CONSTITUENTSOLICITCODE_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_CONSTITUENTSOLICITCODE_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | IX_CONSTITUENTSOLICITCODE_SOLICITCODEID | SOLICITCODEID |  |  |  | 
                                                
                                                    | PK_CONSTITUENTSOLICITCODE | ID | yes | yes |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by