CONSTITUENTAPPEAL (4.0)

Stores information relating appeal and constituent records.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

CONSTITUENTID

uniqueidentifier

false

The constituent record for this appeal.

APPEALID

uniqueidentifier

false

The appeal record to which this record belongs.

MKTSEGMENTATIONID

uniqueidentifier

true

The mailing record that generated this constituent appeal record.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

MKTPACKAGEID

uniqueidentifier

true

The package that was sent to this constituent.

MKTSEGMENTATIONSEGMENTID

uniqueidentifier

true

The segment of the mailing that includes this constituent.

MKTSEGMENTATIONTESTSEGMENTID

uniqueidentifier

true

The test segment of the mailing that includes this constituent.

Fields
Field Field Type Null Notes Description

SOURCECODE

nvarchar(50)

false

''

The source code for this record.

FINDERNUMBER

bigint

false

((0))

The finder number for this record.

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.

DATESENT

datetime

true

The date that this appeal was sent to this constituent.

COMMENTS

nvarchar(255)

false

''

Comments for this constituent appeal.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_CONSTITUENTAPPEAL_APPEALID_MKTSEGMENTATIONID_DATESENT

APPEALID

MKTSEGMENTATIONID

DATESENT

False

False

False

IX_CONSTITUENTAPPEAL_CONSTITUENTID

CONSTITUENTID

False

False

False

IX_CONSTITUENTAPPEAL_CONSTITUENTID_SOURCECODE

CONSTITUENTID

SOURCECODE

False

False

False

IX_CONSTITUENTAPPEAL_DATEADDED

DATEADDED

False

False

True

IX_CONSTITUENTAPPEAL_DATECHANGED

DATECHANGED

False

False

False

IX_CONSTITUENTAPPEAL_DATESENT

DATESENT

False

False

False

IX_CONSTITUENTAPPEAL_FINDERNUMBER

FINDERNUMBER

False

False

False

IX_CONSTITUENTAPPEAL_MKTSEGMENTATIONID

MKTSEGMENTATIONID

False

False

False

IX_CONSTITUENTAPPEAL_MKTSEGMENTATIONSEGMENTID

MKTSEGMENTATIONSEGMENTID

False

False

False

IX_CONSTITUENTAPPEAL_MKTSEGMENTATIONTESTSEGMENTID

MKTSEGMENTATIONTESTSEGMENTID

False

False

False

PK_CONSTITUENTAPPEAL

ID

True

True

False

Triggers
Trigger Name Description

TR_CONSTITUENTAPPEAL_AUDIT_UPDATE

TR_CONSTITUENTAPPEAL_AUDIT_DELETE

TR_CONSTITUENTAPPEAL_TASYNC_I

TR_CONSTITUENTAPPEAL_TASYNC_U

TR_CONSTITUENTAPPEAL_TASYNC_D

TR_CONSTITUENTAPPEAL_AUDIT_ETLDELETEDID

Referenced by
Referenced by Field

CONSTITUENTAPPEALRESPONSE

CONSTITUENTAPPEALID