MKTLIST (4.0SP4)

Contains information about acquisition lists.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

VENDORID

uniqueidentifier

true

Foreign key to VENDOR.

RECORDSOURCEID

uniqueidentifier

false

Foreign key to MKTRECORDSOURCE.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

LISTCATEGORYCODEID

uniqueidentifier

true

A category for grouping lists together.

PARTDEFINITIONVALUESID

uniqueidentifier

true

FK to MKTSOURCECODEPARTDEFINITIONVALUES

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this list.

CURRENCYEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to convert from the amounts to organization amount.

SITEID

uniqueidentifier

true

The site to which this list belongs.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(43)

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.

ISINACTIVE

bit

false

0

Indicates whether or not the list is inactive.

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.

BASERENTALCOST

money

false

0

The base cost to rent the list.

BASERENTALCOSTBASISCODE

tinyint

false

1

The basis on which the base cost to rent the list should be calculated.

BASERENTALCOSTBASIS

nvarchar(12) (Computed)

true

Provides a translation for the 'BASERENTALCOSTBASISCODE' field.

BASEEXCHANGECOST

money

false

0

The base cost associated with obtaining the list via an exchange.

BASEEXCHANGECOSTBASISCODE

tinyint

false

1

The basis on which the base cost associated with obtaining the list via an exchange should be calculated.

BASEEXCHANGECOSTBASIS

nvarchar(12) (Computed)

true

Provides a translation for the 'BASEEXCHANGECOSTBASISCODE' field.

ORGANIZATIONBASERENTALCOST

money

false

0

The amount of the base rental cost in organization currency.

ORGANIZATIONBASEEXCHANGECOST

money

false

0

The amount of the base exchange cost in organization currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_MKTLIST_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_MKTLIST_CURRENCYEXCHANGERATEID

CURRENCYEXCHANGERATEID

False

False

False

IX_MKTLIST_DATEADDED

DATEADDED

False

False

True

IX_MKTLIST_DATECHANGED

DATECHANGED

False

False

False

IX_MKTLIST_LISTCATEGORYCODEID

LISTCATEGORYCODEID

False

False

False

IX_MKTLIST_PARTDEFINITIONVALUESID

PARTDEFINITIONVALUESID

False

False

False

IX_MKTLIST_RECORDSOURCEID

RECORDSOURCEID

False

False

False

IX_MKTLIST_VENDORID

VENDORID

False

False

False

PK_MKTLIST

ID

True

True

False

UC_MKTLIST_NAME

NAME

True

False

False

Triggers
Trigger Name Description

TR_MKTLIST_AUDIT_UPDATE

TR_MKTLIST_AUDIT_DELETE

TR_MKTLIST_IU_ORGANIZATIONCOST

Referenced by
Referenced by Field

BATCHDIRECTMARKETINGEFFORTLIST

MKTLISTID

MKTSEGMENTATIONLISTACTIVE

LISTID

MKTSEGMENTLIST

LISTID

MKTSOURCECODEMAP

LISTID