COMMUNICATIONEXCLUSIONS (4.0SP20)

Describes the communication exclusion criteria.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SEGMENTATIONID

uniqueidentifier

true

FK to MKTSEGMENTATION

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

IDSETREGISTERID

uniqueidentifier

true

FK to IDSETREGISTER

Fields
Field Field Type Null Notes Description

EXCLUDEBASEDONRECENTCOMMUNICATION

bit

false

1

Indicates whether or not the system should exclude constituents that have received a communication within a chosen range from the communication's mail date.

NUMRECENTCOMMUNICATIONPERIODS

int

false

4

The number of periods to be considered when defining the 'recent' communications.

RECENTCOMMUNICATIONPERIODTYPECODE

tinyint

false

0

The period by which to define 'recent' communications.

RECENTCOMMUNICATIONPERIODTYPE

nvarchar(8) (Computed)

true

Provides a translation for the 'RECENTCOMMUNICATIONPERIODTYPECODE' field.

EXCLUDEBASEDONTOTALCOMMUNICATIONSINPASTYEAR

bit

false

1

Indicates whether or not the system should exclude constituents that have received a certain number of communications within the past year.

NUMTOTALCOMMUNICATIONSINPASTYEAR

int

false

12

The number of communications within the past year by which to exclude constituents.

EXCLUDEBASEDONRECENTGIVING

bit

false

1

Indicates whether or not the system should exclude constituents that have given within a chosen range from the communication's mail date.

NUMRECENTGIVINGPERIODS

int

false

4

The number of periods to be considered when defining the recent giving.

RECENTGIVINGPERIODTYPECODE

tinyint

false

0

The period by which to define recent giving.

RECENTGIVINGPERIODTYPE

nvarchar(8) (Computed)

true

Provides a translation for the 'RECENTGIVINGPERIODTYPECODE' field.

EXCLUDEBASEDONTOTALGIVINGINPASTYEAR

bit

false

1

Indicates whether or not the system should exclude constituents that have given a certain amount or more during the past year.

TOTALREVENUEAMOUNTINPASTYEAR

money

false

1000

The total amount of revenue received from a constituent within the last year by which to exclude constituents.

ISSYSTEMDEFAULT

bit

false

0

Indicates whether or not this record represents the system default communication exclusions.

CONSIDERSPECIFICDESIGNATIONS

bit

false

0

Indicates whether or not only specific designations should be considered when calculating recent giving.

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_COMMUNICATIONEXCLUSIONS_DATEADDED

DATEADDED

False

False

True

IX_COMMUNICATIONEXCLUSIONS_DATECHANGED

DATECHANGED

False

False

False

IX_COMMUNICATIONEXCLUSIONS_IDSETREGISTERID

IDSETREGISTERID

False

False

False

IX_COMMUNICATIONEXCLUSIONS_SEGMENTATIONID

SEGMENTATIONID

False

False

False

PK_COMMUNICATIONEXCLUSIONS

ID

True

True

False

Triggers
Trigger Name Description

TR_COMMUNICATIONEXCLUSIONS_AUDIT_UPDATE

TR_COMMUNICATIONEXCLUSIONS_AUDIT_DELETE

Referenced by
Referenced by Field

COMMUNICATIONEXCLUSIONCOMMUNICATIONTYPES

COMMUNICATIONEXCLUSIONID