MKTMEMBERSHIPMAILINGTEMPLATE
                                        Stores information pertaining to a membership renewal effort template.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | CODE | nvarchar(10) |  | Default = '' | Source code component for this membership renewal effort template. | 
                                                
                                                    | NAME | nvarchar(100) |  | Default = '' | A name for the membership renewal effort template. | 
                                                
                                                    | DESCRIPTION | nvarchar(255) |  | Default = '' | A description about the membership renewal effort template. | 
                                                
                                                    | USEADDRESSPROCESSING | bit |  | Default = 0 | Determines whether or not to apply address processing options when performing calculations and exporting a membership renewal effort. | 
                                                
                                                    | ADDRESSPROCESSINGOPTIONSEASONALASOFDATETYPECODE | tinyint |  | Default = 0 | Indicates the type of date to be used when considering seasonal addresses. | 
                                                
                                                    | ADDRESSPROCESSINGOPTIONSEASONALASOFDATE | datetime | yes |  | The specific date to be used when considering seasonal addresses. | 
                                                
                                                    | 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. | 
                                                
                                                    | ADDRESSPROCESSINGOPTIONSEASONALASOFDATETYPE | nvarchar(15) (Computed) | yes | CASE [ADDRESSPROCESSINGOPTIONSEASONALASOFDATETYPECODE] WHEN 0 THEN N'Today' WHEN 1 THEN N<Specific date> END | Provides a translation for the 'ADDRESSPROCESSINGOPTIONSEASONALASOFDATETYPECODE' field. | 
                                                
                                                    | RUNACTIVATEANDEXPORT | bit |  | Default = 0 | Run activate and export upon process completion. | 
                                                
                                                    | RUNSEGMENTATIONSEGMENTREFRESHPROCESS | bit |  | Default = 0 | Indicates whether the marketing effort segment refresh process should be run prior to the calculation of segment record counts. | 
                                                
                                                    | CACHESOURCEANALYSISRULEDATA | bit |  | Default = 1 | Indicates whether source analysis rule data should be cached during activation. | 
                                                
                                                    | RUNMARKETINGEXCLUSIONSREPORT | bit |  | Default = 1 |  | 
                                            
                                        
                                        Foreign Keys
                                        
                                            
                                                
                                                    | Foreign Key | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | SOURCECODEID | uniqueidentifier | yes | MKTSOURCECODE.ID | The source code layout used for this membership renewal effort template. | 
                                                
                                                    | SITEID | uniqueidentifier | yes | SITE.ID | The site to which this membership mailing template belongs. | 
                                                
                                                    | ADDRESSPROCESSINGOPTIONID | uniqueidentifier | yes | ADDRESSPROCESSINGOPTION.ID | The address processing options to be used for this membership renewal effort. | 
                                                
                                                    | NAMEFORMATPARAMETERID | uniqueidentifier | yes | NAMEFORMATPARAMETER.ID | The name format options to be used for this membership renewal effort. | 
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | PARTDEFINITIONVALUESID | uniqueidentifier | yes | MKTSOURCECODEPARTDEFINITIONVALUES.ID | FK to MKTSOURCECODEPARTDEFINITIONVALUES | 
                                                
                                                    | BASECURRENCYID | uniqueidentifier | yes | CURRENCY.ID | The base currency associated with this membership template. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_MKTMEMBERSHIPMAILINGTEMPLATE_ADDRESSPROCESSINGOPTIONID | ADDRESSPROCESSINGOPTIONID |  |  |  | 
                                                
                                                    | IX_MKTMEMBERSHIPMAILINGTEMPLATE_BASECURRENCYID | BASECURRENCYID |  |  |  | 
                                                
                                                    | IX_MKTMEMBERSHIPMAILINGTEMPLATE_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_MKTMEMBERSHIPMAILINGTEMPLATE_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | IX_MKTMEMBERSHIPMAILINGTEMPLATE_NAMEFORMATPARAMETERID | NAMEFORMATPARAMETERID |  |  |  | 
                                                
                                                    | IX_MKTMEMBERSHIPMAILINGTEMPLATE_PARTDEFINITIONVALUESID | PARTDEFINITIONVALUESID |  |  |  | 
                                                
                                                    | IX_MKTMEMBERSHIPMAILINGTEMPLATE_SITEID | SITEID |  |  |  | 
                                                
                                                    | IX_MKTMEMBERSHIPMAILINGTEMPLATE_SOURCECODEID | SOURCECODEID |  |  |  | 
                                                
                                                    | PK_MKTMEMBERSHIPMAILINGTEMPLATE | ID | yes | yes |  | 
                                                
                                                    | UC_MKTMEMBERSHIPMAILINGTEMPLATE_NAME | NAME | yes |  |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by