MKTPOSTALTEMPLATE

Stores information pertaining to a Satori postal template.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.
PRESORTOPTIONSFILENAME nvarchar(255) Default = ''

Foreign Keys

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

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTPOSTALTEMPLATE_DATEADDED DATEADDED yes
IX_MKTPOSTALTEMPLATE_DATECHANGED DATECHANGED
PK_MKTPOSTALTEMPLATE ID yes yes
UC_MKTPOSTALTEMPLATE_NAME NAME yes

Triggers

Trigger Name Description
TR_MKTPOSTALTEMPLATE_AUDIT_UPDATE
TR_MKTPOSTALTEMPLATE_AUDIT_DELETE

Referenced by

Referenced by Field
MKTEXPORTDEFINITION POSTALTEMPLATEID