Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(43)   Default = '' The name of the list.
 DESCRIPTION nvarchar(255)   Default = '' A description about the list.
 CODE nvarchar(10)   Default = '' A unique code that identifies the list.
 ISINACTIVE bit   Default = 0 Indicates whether or not the list is inactive.
 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.
 BASERENTALCOST money   Default = 0 The base cost to rent the list.
 BASERENTALCOSTBASISCODE tinyint   Default = 1 The basis on which the base cost to rent the list should be calculated.
 BASEEXCHANGECOST money   Default = 0 The base cost associated with obtaining the list via an exchange.
 BASEEXCHANGECOSTBASISCODE tinyint   Default = 1 The basis on which the base cost associated with obtaining the list via an exchange should be calculated.
 BASERENTALCOSTBASIS nvarchar(12) (Computed) CASE [BASERENTALCOSTBASISCODE] WHEN 1 THEN N'Per thousand' WHEN 2 THEN N'Flat' END Provides a translation for the 'BASERENTALCOSTBASISCODE' field.
 BASEEXCHANGECOSTBASIS nvarchar(12) (Computed) CASE [BASEEXCHANGECOSTBASISCODE] WHEN 1 THEN N'Per thousand' WHEN 2 THEN N'Flat' END Provides a translation for the 'BASEEXCHANGECOSTBASISCODE' field.
 ORGANIZATIONBASERENTALCOST money   Default = 0 The amount of the base rental cost in organization currency.
 ORGANIZATIONBASEEXCHANGECOST money   Default = 0 The amount of the base exchange cost in organization currency.

Foreign Key Field Type Null Notes Description
 VENDORID uniqueidentifier VENDOR.ID Foreign key to VENDOR.
 RECORDSOURCEID uniqueidentifier   MKTRECORDSOURCE.ID Foreign key to MKTRECORDSOURCE.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 LISTCATEGORYCODEID uniqueidentifier MKTLISTCATEGORYCODE.ID A category for grouping lists together.
 PARTDEFINITIONVALUESID uniqueidentifier MKTSOURCECODEPARTDEFINITIONVALUES.ID FK to MKTSOURCECODEPARTDEFINITIONVALUES
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this list.
 CURRENCYEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from the amounts to organization amount.
 SITEID uniqueidentifier SITE.ID

Index Name Field(s) Unique Primary Clustered
 IX_MKTLIST_BASECURRENCYID BASECURRENCYID      
 IX_MKTLIST_CURRENCYEXCHANGERATEID CURRENCYEXCHANGERATEID      
 IX_MKTLIST_DATEADDED DATEADDED    
 IX_MKTLIST_DATECHANGED DATECHANGED      
 IX_MKTLIST_LISTCATEGORYCODEID LISTCATEGORYCODEID      
 IX_MKTLIST_PARTDEFINITIONVALUESID PARTDEFINITIONVALUESID      
 IX_MKTLIST_RECORDSOURCEID RECORDSOURCEID      
 IX_MKTLIST_VENDORID VENDORID      
 PK_MKTLIST ID  
 UC_MKTLIST_NAME NAME    

Trigger Name Description
 TR_MKTLIST_IU_ORGANIZATIONCOST
 TR_MKTLIST_AUDIT_UPDATE
 TR_MKTLIST_AUDIT_DELETE

Referenced by Field
 BATCHDIRECTMARKETINGEFFORTLIST MKTLISTID
 MKTSEGMENTATIONLISTACTIVE LISTID
 MKTSEGMENTLIST LISTID
 MKTSOURCECODEMAP LISTID

Entity-Relationship diagram of this table