CONSTITUENTAPPEAL
Stores information relating appeal and constituent records.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| SOURCECODE |
nvarchar(50) |
|
Default = '' |
The source code for this record. |
| FINDERNUMBER |
bigint |
|
Default = ((0)) |
The finder number for this record. |
| 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. |
| DATESENT |
datetime |
yes |
|
The date that this appeal was sent to this constituent. |
| COMMENTS |
nvarchar(255) |
|
Default = '' |
Comments for this constituent appeal. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| CONSTITUENTID |
uniqueidentifier |
|
CONSTITUENT.LOCALID
|
The constituent record for this appeal. |
| APPEALID |
uniqueidentifier |
|
APPEAL.LOCALID
|
The appeal record to which this record belongs. |
| MKTSEGMENTATIONID |
uniqueidentifier |
yes |
MKTSEGMENTATION.ID
|
The mailing record that generated this constituent appeal record. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| MKTPACKAGEID |
uniqueidentifier |
yes |
MKTPACKAGE.ID
|
The package that was sent to this constituent. |
| MKTSEGMENTATIONSEGMENTID |
uniqueidentifier |
yes |
MKTSEGMENTATIONSEGMENT.ID
|
The segment of the mailing that includes this constituent. |
| MKTSEGMENTATIONTESTSEGMENTID |
uniqueidentifier |
yes |
MKTSEGMENTATIONTESTSEGMENT.ID
|
The test segment of the mailing that includes this constituent. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_CONSTITUENTAPPEAL_APPEALID_MKTSEGMENTATIONID_DATESENT |
APPEALID, MKTSEGMENTATIONID, DATESENT |
|
|
|
| IX_CONSTITUENTAPPEAL_CONSTITUENTID |
CONSTITUENTID |
|
|
|
| IX_CONSTITUENTAPPEAL_CONSTITUENTID_SOURCECODE |
CONSTITUENTID, SOURCECODE |
|
|
|
| IX_CONSTITUENTAPPEAL_DATEADDED |
DATEADDED |
|
|
yes |
| IX_CONSTITUENTAPPEAL_DATECHANGED |
DATECHANGED |
|
|
|
| IX_CONSTITUENTAPPEAL_DATESENT |
DATESENT |
|
|
|
| IX_CONSTITUENTAPPEAL_FINDERNUMBER |
FINDERNUMBER |
|
|
|
| IX_CONSTITUENTAPPEAL_MKTSEGMENTATIONID |
MKTSEGMENTATIONID |
|
|
|
| IX_CONSTITUENTAPPEAL_MKTSEGMENTATIONSEGMENTID |
MKTSEGMENTATIONSEGMENTID |
|
|
|
| IX_CONSTITUENTAPPEAL_MKTSEGMENTATIONTESTSEGMENTID |
MKTSEGMENTATIONTESTSEGMENTID |
|
|
|
| PK_CONSTITUENTAPPEAL |
ID |
yes |
yes |
|
Triggers
Referenced by