Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 CAPTION nvarchar(50)   Default = '' A description for the marketing plan template item.
 BACKCOLOR int   Default = 0
 FORECOLOR int   Default = 0
 CAPTIONCOLOR int   Default = 0
 LEVEL tinyint   Default = 0 Determines relative position of the level
 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
 MARKETINGPLANTEMPLATEID uniqueidentifier   MKTMARKETINGPLANTEMPLATE.ID FK to MKTMARKETINGPLANTEMPLATE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_MKTMARKETINGPLANTEMPLATEITEM_DATEADDED DATEADDED    
 IX_MKTMARKETINGPLANTEMPLATEITEM_DATECHANGED DATECHANGED      
 PK_MKTMARKETINGPLANTEMPLATEITEM ID  
 UIX_MKTMARKETINGPLANTEMPLATEITEM_MARKETINGPLANTEMPLATEID_CAPTION MARKETINGPLANTEMPLATEID, CAPTION    

Trigger Name Description
 TR_MKTMARKETINGPLANTEMPLATEITEM_AUDIT_UPDATE
 TR_MKTMARKETINGPLANTEMPLATEITEM_AUDIT_DELETE

Entity-Relationship diagram of this table