| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
SELECTEDSELECTIONS |
xml | ![]() |
||
CHANNELCODE |
tinyint | Default = 0 | 0=Send through both mail and email, according to each constituents preferences., 1=Send through email only, 2=Send through mail only | |
CHANNELPREFERENCECODE |
tinyint | Default = 0 | 0=Email, 1=Mail | |
CHANNELPREFERENCE |
nvarchar(5) (Computed) | ![]() |
CASE [CHANNELPREFERENCECODE] WHEN 0 THEN N'Email' WHEN 1 THEN N'Mail' END | Provides a translation for the 'CHANNELPREFERENCECODE' field. |
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. |
ESTIMATEDRESPONSERATE |
decimal(5, 2) | Default = 0 | The estimated response rate for this appeal mailing which is used for calculating KPI goals. | |
ESTIMATEDAVERAGEGIFTAMOUNT |
money | Default = 0 | The estimated average gift amount received due to this appeal mailing which is used for calculating KPI goals. | |
CHANNEL |
nvarchar(14) (Computed) | ![]() |
CASE [CHANNELCODE] WHEN 0 THEN N'Mail' WHEN 1 THEN N'Email' WHEN 2 THEN N'Mail and Email' END | |
HOUSEHOLDINGTYPECODE |
tinyint | Default = 0 | ||
HOUSEHOLDINGTYPE |
nvarchar(49) (Computed) | ![]() |
CASE [HOUSEHOLDINGTYPECODE] WHEN 0 THEN N'Send one letter per household' WHEN 1 THEN N'Send a letter to each individual in the household' END | |
ESTIMATEDNETREVENUE |
money | Default = 0 |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ID |
uniqueidentifier | APPEALMAILING.ID | Primary Key. | |
MAILPACKAGEID |
uniqueidentifier | ![]() |
MKTPACKAGE.ID | FK to MKTPACKAGE |
EMAILPACKAGEID |
uniqueidentifier | ![]() |
MKTPACKAGE.ID | FK to MKTPACKAGE |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
SEGMENTID |
uniqueidentifier | ![]() |
MKTSEGMENT.ID | FK to MKTSEGMENT |
MKTASKLADDERID |
uniqueidentifier | ![]() |
MKTASKLADDER.ID | FK to MKTASKLADDER |
MAILEXPORTDEFINITIONID |
uniqueidentifier | ![]() |
EXPORTDEFINITION.ID | |
EMAILEXPORTDEFINITIONID |
uniqueidentifier | ![]() |
EXPORTDEFINITION.ID |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_APPEALMAILINGSETUP_DATEADDED |
DATEADDED | ![]() |
||
IX_APPEALMAILINGSETUP_DATECHANGED |
DATECHANGED | |||
IX_APPEALMAILINGSETUP_EMAILPACKAGEID |
EMAILPACKAGEID | |||
IX_APPEALMAILINGSETUP_MAILPACKAGEID |
MAILPACKAGEID | |||
IX_APPEALMAILINGSETUP_MKTASKLADDERID |
MKTASKLADDERID | |||
IX_APPEALMAILINGSETUP_SEGMENTID |
SEGMENTID | |||
PK_APPEALMAILINGSETUP |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_APPEALMAILINGSETUP_AUDIT_UPDATE |
|
TR_APPEALMAILINGSETUP_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
APPEALMAILINGSETUPLETTER |
APPEALMAILINGSETUPID |
APPEALMAILINGSETUPSELECTION |
APPEALMAILINGSETUPID |
ARCHIVEDAPPEALMAILINGCONTENT |
ID |

ID
SELECTEDSELECTIONS
CHANNELPREFERENCE
ID
IX_APPEALMAILINGSETUP_DATEADDED
IX_APPEALMAILINGSETUP_DATECHANGED