MKTLISTLAYOUT

Contains information about each list layout.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(50) Default = '' Stores the name of the list layout.
DESCRIPTION nvarchar(300) Default = '' Stores the description of the list layout.
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.
TYPECODE tinyint Default = 0 Type of layout
TYPE nvarchar(20) (Computed) yes CASE [TYPECODE] WHEN 0 THEN N'Imported List' WHEN 1 THEN N'Finder File' WHEN 2 THEN N'Segmented House File' END Provides a translation for the 'TYPECODE' field.
ADDNEWCODETABLEENTRIES bit Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
RECORDSOURCEID uniqueidentifier yes MKTRECORDSOURCE.ID Foreign key to MKTRECORDSOURCE.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
SITEID uniqueidentifier yes SITE.ID The site to which this list layout belongs.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTLISTLAYOUT_DATEADDED DATEADDED yes
IX_MKTLISTLAYOUT_DATECHANGED DATECHANGED
IX_MKTLISTLAYOUT_RECORDSOURCEID RECORDSOURCEID
IX_MKTLISTLAYOUT_SITEID SITEID
PK_MKTLISTLAYOUT ID yes yes
UC_MKTLISTLAYOUT_NAME NAME yes

Triggers

Trigger Name Description
TR_MKTLISTLAYOUT_INSERT
TR_MKTLISTLAYOUT_UPDATE
TR_MKTLISTLAYOUT_AUDIT_UPDATE
TR_MKTLISTLAYOUT_AUDIT_DELETE

Referenced by

Referenced by Field
MKTCONSTITUENTFILEIMPORTPROCESS LISTLAYOUTID
MKTFINDERFILEIMPORTPROCESS LISTLAYOUTID
MKTLISTLAYOUTFIELD LISTLAYOUTID
MKTSEGMENTLIST LISTLAYOUTID