BATCHDIRECTMARKETINGEFFORTLIST (4.0SP4)

Stores list information for Direct Marketing Effort batches.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

MKTLISTID

uniqueidentifier

true

The existing list record.

CODEPARTDEFINITIONVALUESID

uniqueidentifier

true

The source code part definition format value.

MKTLISTCATEGORYCODEID

uniqueidentifier

true

A category for grouping lists together.

VENDORID

uniqueidentifier

true

The vendor that provided the list.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

SITEID

uniqueidentifier

true

The site to which this list belongs.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

The name of the list.

DESCRIPTION

nvarchar(255)

false

''

A description about the list.

CODE

nvarchar(10)

false

''

A unique code that identifies the list.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

LISTSITEISNULL

bit

false

0

True if the list site selected is a null site. False if a list site was not chosen or was not included in the template.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHDIRECTMARKETINGEFFORTLIST_CODEPARTDEFINITIONVALUESID

CODEPARTDEFINITIONVALUESID

False

False

False

IX_BATCHDIRECTMARKETINGEFFORTLIST_DATEADDED

DATEADDED

False

False

True

IX_BATCHDIRECTMARKETINGEFFORTLIST_DATECHANGED

DATECHANGED

False

False

False

IX_BATCHDIRECTMARKETINGEFFORTLIST_MKTLISTCATEGORYCODEID

MKTLISTCATEGORYCODEID

False

False

False

IX_BATCHDIRECTMARKETINGEFFORTLIST_MKTLISTID

MKTLISTID

False

False

False

IX_BATCHDIRECTMARKETINGEFFORTLIST_VENDORID

VENDORID

False

False

False

PK_BATCHDIRECTMARKETINGEFFORTLIST

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHDIRECTMARKETINGEFFORTLIST_AUDIT_UPDATE

TR_BATCHDIRECTMARKETINGEFFORTLIST_AUDIT_DELETE

Referenced by
Referenced by Field

BATCHDIRECTMARKETINGEFFORT

BATCHDIRECTMARKETINGEFFORTLISTID