Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(50)   Default = '' A short description for the marketing plan template.
 ISDEFAULT bit   Default = 0 The marketing plan template that will be selected when a new plan is created.
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 SITEID uniqueidentifier SITE.ID The site to which this marketing plan template belongs.

Index Name Field(s) Unique Primary Clustered
 IX_MKTMARKETINGPLANTEMPLATE_DATEADDED DATEADDED    
 IX_MKTMARKETINGPLANTEMPLATE_DATECHANGED DATECHANGED      
 IX_MKTMARKETINGPLANTEMPLATE_SITEID SITEID      
 PK_MKTMARKETINGPLANTEMPLATE ID  
 UC_MKTMARKETINGPLANTEMPLATE_NAME NAME    

Trigger Name Description
 TR_MKTMARKETINGPLANTEMPLATE_AUDIT_UPDATE
 TR_MKTMARKETINGPLANTEMPLATE_AUDIT_DELETE

Referenced by Field
 MKTMARKETINGPLANTEMPLATEITEM MARKETINGPLANTEMPLATEID

Entity-Relationship diagram of this table