MKTACKNOWLEDGEMENTMAILINGTEMPLATEAPPEAL (4.0SP17)

Stores appeals associated with a marketing acknowledgement template.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ACKNOWLEDGEMENTTEMPLATEID

uniqueidentifier

false

The template these KPIs will be created for.

RECORDSOURCEID

uniqueidentifier

false

The ID of the record source for the appeal.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

APPEALSYSTEMID

nvarchar(36)

false

''

The existing appeal system ID from the source system, if one was chosen, that will be used for activating the gifts in the record source.

APPEALID

nvarchar(100)

false

''

The user-defined ID of a new appeal to create in the source system that will be used for activating the gifts in the record source.

APPEALDESCRIPTION

nvarchar(100)

false

''

The description of a new appeal to create in the source system that will be used for activating the gifts in the record source.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_MKTACKNOWLEDGEMENTMAILINGTEMPLATEAPPEAL_ACKNOWLEDGEMENTTEMPLATEID_RECORDSOURCEID

ACKNOWLEDGEMENTTEMPLATEID

RECORDSOURCEID

False

False

False

IX_MKTACKNOWLEDGEMENTMAILINGTEMPLATEAPPEAL_DATEADDED

DATEADDED

False

False

True

IX_MKTACKNOWLEDGEMENTMAILINGTEMPLATEAPPEAL_DATECHANGED

DATECHANGED

False

False

False

IX_MKTACKNOWLEDGEMENTMAILINGTEMPLATEAPPEAL_RECORDSOURCEID

RECORDSOURCEID

False

False

False

PK_MKTACKNOWLEDGEMENTMAILINGTEMPLATEAPPEAL

ID

True

True

False

Triggers
Trigger Name Description

TR_MKTACKNOWLEDGEMENTMAILINGTEMPLATEAPPEAL_AUDIT_UPDATE

TR_MKTACKNOWLEDGEMENTMAILINGTEMPLATEAPPEAL_AUDIT_DELETE