MKTLIST
Contains information about acquisition lists.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| 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) |
yes |
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. |
| BASERENTALCOSTBASIS |
nvarchar(12) (Computed) |
yes |
CASE [BASERENTALCOSTBASISCODE] WHEN 1 THEN N'Per thousand' WHEN 2 THEN N'Flat' END |
Provides a translation for the 'BASERENTALCOSTBASISCODE' field. |
| 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. |
| BASEEXCHANGECOSTBASIS |
nvarchar(12) (Computed) |
yes |
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 Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| VENDORID |
uniqueidentifier |
yes |
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 |
yes |
MKTLISTCATEGORYCODE.ID
|
A category for grouping lists together. |
| PARTDEFINITIONVALUESID |
uniqueidentifier |
yes |
MKTSOURCECODEPARTDEFINITIONVALUES.ID
|
FK to MKTSOURCECODEPARTDEFINITIONVALUES |
| BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this list. |
| CURRENCYEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert from the amounts to organization amount. |
| SITEID |
uniqueidentifier |
yes |
SITE.ID
|
The site to which this list belongs. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_MKTLIST_BASECURRENCYID |
BASECURRENCYID |
|
|
|
| IX_MKTLIST_CURRENCYEXCHANGERATEID |
CURRENCYEXCHANGERATEID |
|
|
|
| IX_MKTLIST_DATEADDED |
DATEADDED |
|
|
yes |
| IX_MKTLIST_DATECHANGED |
DATECHANGED |
|
|
|
| IX_MKTLIST_LISTCATEGORYCODEID |
LISTCATEGORYCODEID |
|
|
|
| IX_MKTLIST_PARTDEFINITIONVALUESID |
PARTDEFINITIONVALUESID |
|
|
|
| IX_MKTLIST_RECORDSOURCEID |
RECORDSOURCEID |
|
|
|
| IX_MKTLIST_VENDORID |
VENDORID |
|
|
|
| PK_MKTLIST |
ID |
yes |
yes |
|
| UC_MKTLIST_NAME |
NAME |
yes |
|
|
Triggers
Referenced by