MKTMARKETINGPLAN
                                        Stores information pertaining to the overall marketing plan.  
                                        Primary Key
                                        
                                            
                                                
                                                    | Primary Key | Field Type | 
                                            
                                            
                                                
                                                    | ID | uniqueidentifier | 
                                            
                                        
                                        Fields
                                        
                                            
                                                
                                                    | Field | Field Type | Null | Notes | Description | 
                                            
                                            
                                                
                                                    | ISACTIVE | bit |  | Default = 1 |  | 
                                                
                                                    | ISAPPROVED | bit |  | Default = 0 |  | 
                                                
                                                    | APPROVEDBY | nvarchar(100) |  | Default = '' | The name of the person approving the marketing plan. | 
                                                
                                                    | DATEAPPROVED | datetime | yes |  |  | 
                                                
                                                    | 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 | 
                                            
                                            
                                                
                                                    | ADDEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | CHANGEDBYID | uniqueidentifier |  | CHANGEAGENT.ID | FK to CHANGEAGENT. | 
                                                
                                                    | SITEID | uniqueidentifier | yes | SITE.ID | The site to which this marketing plan belongs. | 
                                                
                                                    | BASECURRENCYID | uniqueidentifier | yes | CURRENCY.ID | The base currency associated with this marketing plan. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_MKTMARKETINGPLAN_BASECURRENCYID | BASECURRENCYID |  |  |  | 
                                                
                                                    | IX_MKTMARKETINGPLAN_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_MKTMARKETINGPLAN_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | IX_MKTMARKETINGPLAN_SITEID | SITEID |  |  |  | 
                                                
                                                    | PK_MKTMARKETINGPLAN | ID | yes | yes |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by