CONSTITUENTCORRESPONDENCE
                                        This table contains information about constituent correspondence.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | 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) | yes | CONVERT(bigint, TS) | Numeric representation of the timestamp. | 
                                            
                                        
                                        Foreign Keys
                                        
                                            
                                                
                                                    | Foreign Key | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | CONSTITUENTID | uniqueidentifier |  | CONSTITUENT.LOCALID | The constituent to which this correspondence belongs. | 
                                                
                                                    | CORRESPONDENCECODEID | uniqueidentifier | yes | CORRESPONDENCECODE.ID | The correspondence code of this correspondence. | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CORRESPONDENCEPROCESSRUNHISTORYID | uniqueidentifier | yes | CORRESPONDENCEPROCESSRUNHISTORY.ID | The correspondence process run that sent this correspondence. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_CONSTITUENTCORRESPONDENCE_CONSTITUENTID | CONSTITUENTID |  |  |  | 
                                                
                                                    | IX_CONSTITUENTCORRESPONDENCE_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_CONSTITUENTCORRESPONDENCE_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | PK_CONSTITUENTCORRESPONDENCE | ID | yes | yes |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by