MKTSEGMENTATIONLISTACTIVE
Information about the lists in a marketing effort is cached here when the marketing effort is activated, and used to generate various reports.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
QUANTITY |
int |
|
Default = 0 |
The number of people in this list, segment, and package combination that were mailed to. |
RESPONDERS |
int |
|
Default = 0 |
The number of people in this list, segment, and package combination that responded to the marketing effort. |
RESPONSES |
int |
|
Default = 0 |
The number of gifts from people in this list, segment, and package combination that responded to the marketing effort. |
TOTALCOST |
money |
|
Default = 0 |
The total cost (variable + fixed) for this list, segment, and package combination. |
TOTALGIFTAMOUNT |
money |
|
Default = 0 |
The total gift amount received for this list, segment, and package combination. |
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. |
ORGANIZATIONTOTALCOST |
money |
|
Default = 0 |
The total cost (variable + fixed), in organization currency, for this list, segment, and package combination. |
ORGANIZATIONTOTALGIFTAMOUNT |
money |
|
Default = 0 |
The total gift amount, in organization currency, received for this list, segment, and package combination. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
LISTID |
uniqueidentifier |
|
MKTLIST.ID
|
The list whose information is cached. |
SEGMENTID |
uniqueidentifier |
|
MKTSEGMENTATIONSEGMENT.ID
|
The activated marketing effort segment this cached information belongs to. |
PACKAGEID |
uniqueidentifier |
|
MKTPACKAGE.ID
|
The package this cached information belongs to. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this activated list segment. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_MKTSEGMENTATIONLISTACTIVE_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_MKTSEGMENTATIONLISTACTIVE_DATEADDED |
DATEADDED |
|
|
yes |
IX_MKTSEGMENTATIONLISTACTIVE_DATECHANGED |
DATECHANGED |
|
|
|
IX_MKTSEGMENTATIONLISTACTIVE_PACKAGEID |
PACKAGEID |
|
|
|
IX_MKTSEGMENTATIONLISTACTIVE_SEGMENTID |
SEGMENTID |
|
|
|
PK_MKTSEGMENTATIONLISTACTIVE |
ID |
yes |
yes |
|
UIX_MKTSEGMENTATIONLISTACTIVE_LISTID_SEGMENTID_PACKAGEID |
LISTID, SEGMENTID, PACKAGEID |
yes |
|
|
Triggers