CAMPAIGNSUBPRIORITY (4.0)

Stores information about sub priorities assigned to campaigns.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

CAMPAIGNPRIORITYID

uniqueidentifier

false

The campaign priority the subpriority belongs to.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CURRENCYEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to convert from amount to organization amount.

CAMPAIGNSUBPRIORITYNAMECODEID

uniqueidentifier

false

Translation for a campaign sub priority's name

Fields
Field Field Type Null Notes Description

GOAL

money

false

0

The goal for the subpriority in the campaign's base currency.

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.

ORGANIZATIONAMOUNT

money

false

0

The amount of the goal in organization currency.

NAME

nvarchar(100) (Computed)

true

Returns subpriority name code table description.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_CAMPAIGNSUBPRIORITY_CAMPAIGNPRIORITYID

CAMPAIGNPRIORITYID

False

False

False

IX_CAMPAIGNSUBPRIORITY_CURRENCYEXCHANGERATEID

CURRENCYEXCHANGERATEID

False

False

False

IX_CAMPAIGNSUBPRIORITY_DATEADDED

DATEADDED

False

False

True

IX_CAMPAIGNSUBPRIORITY_DATECHANGED

DATECHANGED

False

False

False

PK_CAMPAIGNSUBPRIORITY

ID

True

True

False

Triggers
Trigger Name Description

TR_CAMPAIGNSUBPRIORITY_AUDIT_ETLDELETEDID

TR_CAMPAIGNSUBPRIORITY_IU_ORGANIZATIONAMOUNT

TR_CAMPAIGNSUBPRIORITY_AUDIT_UPDATE

TR_CAMPAIGNSUBPRIORITY_AUDIT_DELETE

Referenced by
Referenced by Field

BATCHMEMBERSHIPDUESCAMPAIGN

CAMPAIGNSUBPRIORITYID

BATCHREVENUEADDITIONALAPPLICATIONCAMPAIGN

CAMPAIGNSUBPRIORITYID

BATCHREVENUESPLITCAMPAIGN

CAMPAIGNSUBPRIORITYID

DESIGNATIONCAMPAIGN

CAMPAIGNSUBPRIORITYID

EVENTCAMPAIGN

CAMPAIGNSUBPRIORITYID

MEMBERSHIPLEVELCAMPAIGN

CAMPAIGNSUBPRIORITYID

MEMBERSHIPPROGRAMCAMPAIGN

CAMPAIGNSUBPRIORITYID

OPPORTUNITYDESIGNATIONCAMPAIGN

CAMPAIGNSUBPRIORITYID

PLANNEDGIFTADDITIONDESIGNATIONCAMPAIGN

CAMPAIGNSUBPRIORITYID

PLANNEDGIFTDESIGNATIONCAMPAIGN

CAMPAIGNSUBPRIORITYID

REVENUESPLITCAMPAIGN

CAMPAIGNSUBPRIORITYID