ANONYMOUSEMAILPREFERENCE
Describes communication preference settings for constituents.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
OPTEDOUT |
bit |
|
Default = 0 |
|
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. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
ANONYMOUSEMAILSUBSCRIBERID |
uniqueidentifier |
|
ANONYMOUSEMAILSUBSCRIBER.ID
|
FK to ANONYMOUSEMAILSUBSCRIBER |
APPEALCATEGORYCODEID |
uniqueidentifier |
yes |
APPEALCATEGORYCODE.LOCALID
|
Defines the appeal category for which these preferences are applied. |
BUSINESSUNITCODEID |
uniqueidentifier |
yes |
BUSINESSUNITCODE.ID
|
Defines the business unit to which these preferences are applied. |
SITEID |
uniqueidentifier |
yes |
SITE.ID
|
Defines the site to which these preferences are applied. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_ANONYMOUSEMAILPREFERENCE_APPEALCATEGORYCODEID_BUSINESSUNITCODEID_SITEID_OPTEDOUT |
APPEALCATEGORYCODEID, BUSINESSUNITCODEID, SITEID, OPTEDOUT |
|
|
|
IX_ANONYMOUSEMAILPREFERENCE_DATEADDED |
DATEADDED |
|
|
yes |
IX_ANONYMOUSEMAILPREFERENCE_DATECHANGED |
DATECHANGED |
|
|
|
PK_ANONYMOUSEMAILPREFERENCE |
ID |
yes |
yes |
|
UIX_ANONYMOUSEMAILPREFERENCE_APPEALCATEGORYCODEID_BUSINESSUNITCODEID_SITEID_ANONYMOUSEMAILSUBSCRIBERID |
APPEALCATEGORYCODEID, BUSINESSUNITCODEID, SITEID, ANONYMOUSEMAILSUBSCRIBERID |
yes |
|
|
Triggers