| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
LABELFILENAME |
nvarchar(255) | Default = '' | The original file name for the label template. | |
LABELFILE |
varbinary | ![]() |
The actual label template file. | |
CREATEOUTPUTIDSET |
bit | Default = 0 | Designates whether or not an ID set should be created as a result of the mailing activation process. | |
OUTPUTIDSETNAME |
nvarchar(100) | Default = '' | The name of the output ID set to be created by the mailing activation process. | |
OVERWRITEOUTPUTIDSET |
bit | Default = 0 | Designates whether or not to overwrite the output ID set if one with the same name already exists. | |
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. |
NAME |
nvarchar(100) (Computed) | ![]() |
dbo.[UFN_MKTSEGMENTATION_GETNAME]([ID]) | The name of the mailing. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ID |
uniqueidentifier | MKTSEGMENTATION.ID | Primary Key. | |
APPEALID |
uniqueidentifier | APPEAL.LOCALID | The appeal the mailing is for. | |
MKTSEGMENTATIONSEGMENTID |
uniqueidentifier | ![]() |
MKTSEGMENTATIONSEGMENT.ID | The automatically generated mailing segment for the mailing. |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_APPEALMAILING_APPEALID |
APPEALID | |||
IX_APPEALMAILING_DATEADDED |
DATEADDED | ![]() |
||
IX_APPEALMAILING_DATECHANGED |
DATECHANGED | |||
PK_APPEALMAILING |
ID | ![]() |
![]() |
|
UIX_APPEALMAILING_MKTSEGMENTATIONSEGMENTID |
MKTSEGMENTATIONSEGMENTID | ![]() |
| Trigger Name | Description |
|---|---|
TR_APPEALMAILING_AUDIT_UPDATE |
|
TR_APPEALMAILING_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
APPEALMAILINGSETUP |
ID |

ID
LABELFILENAME
TSLONG
ID
IX_APPEALMAILING_APPEALID
IX_APPEALMAILING_DATEADDED