BATCHDIRECTMARKETINGEFFORTLIST
                                        Stores list information for Direct Marketing Effort batches.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | NAME | nvarchar(100) |  | Default = '' | The name of the list. | 
                                                
                                                    | DESCRIPTION | nvarchar(255) |  | Default = '' | A description about the list. | 
                                                
                                                    | CODE | nvarchar(10) |  | Default = '' | A unique code that identifies the list. | 
                                                
                                                    | 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. | 
                                                
                                                    | LISTSITEISNULL | bit |  | Default = 0 | True if the list site selected is a null site. False if a list site was not chosen or was not included in the template. | 
                                            
                                        
                                        Foreign Keys
                                        
                                            
                                                
                                                    | Foreign Key | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | MKTLISTID | uniqueidentifier | yes | MKTLIST.ID | The existing list record. | 
                                                
                                                    | CODEPARTDEFINITIONVALUESID | uniqueidentifier | yes | MKTSOURCECODEPARTDEFINITIONVALUES.ID | The source code part definition format value. | 
                                                
                                                    | MKTLISTCATEGORYCODEID | uniqueidentifier | yes | MKTLISTCATEGORYCODE.ID | A category for grouping lists together. | 
                                                
                                                    | VENDORID | uniqueidentifier | yes | VENDOR.ID | The vendor that provided the list. | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | SITEID | uniqueidentifier | yes | SITE.ID | The site to which this list belongs. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_BATCHDIRECTMARKETINGEFFORTLIST_CODEPARTDEFINITIONVALUESID | CODEPARTDEFINITIONVALUESID |  |  |  | 
                                                
                                                    | IX_BATCHDIRECTMARKETINGEFFORTLIST_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_BATCHDIRECTMARKETINGEFFORTLIST_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | IX_BATCHDIRECTMARKETINGEFFORTLIST_MKTLISTCATEGORYCODEID | MKTLISTCATEGORYCODEID |  |  |  | 
                                                
                                                    | IX_BATCHDIRECTMARKETINGEFFORTLIST_MKTLISTID | MKTLISTID |  |  |  | 
                                                
                                                    | IX_BATCHDIRECTMARKETINGEFFORTLIST_VENDORID | VENDORID |  |  |  | 
                                                
                                                    | PK_BATCHDIRECTMARKETINGEFFORTLIST | ID | yes | yes |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by