Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(100)   Default = '' A unique name for the postal template.
 PRESORTOPTIONS nvarchar(max)   Default = '' This holds the results of the presort wizard.
 VALIDATEADDRESSES bit   Default = 0 Whether or not to validate addresses during a postal export.
 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.
 PRESORTOPTIONSFILENAME nvarchar(255)   Default = ''

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_MKTPOSTALTEMPLATE_DATEADDED DATEADDED    
 IX_MKTPOSTALTEMPLATE_DATECHANGED DATECHANGED      
 PK_MKTPOSTALTEMPLATE ID  
 UC_MKTPOSTALTEMPLATE_NAME NAME    

Trigger Name Description
 TR_MKTPOSTALTEMPLATE_AUDIT_UPDATE
 TR_MKTPOSTALTEMPLATE_AUDIT_DELETE

Referenced by Field
 MKTEXPORTDEFINITION POSTALTEMPLATEID

Entity-Relationship diagram of this table