PLANNEDGIFTDESIGNATION (4.0)

Stores the designation for each planned gift.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

PLANNEDGIFTID

uniqueidentifier

false

FK to PLANNEDGIFT

DESIGNATIONID

uniqueidentifier

true

FK to DESIGNATION

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CATEGORYCODEID

uniqueidentifier

true

FK to PLANNEDGIFTDESCATEGORYCODE

USECODEID

uniqueidentifier

true

FK to DESIGNATIONUSECODE

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this revenue split.

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to calculate the organization amount.

TRANSACTIONCURRENCYID

uniqueidentifier

true

The transaction currency associated with this planned gift designation.

BASEEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to calculate the base amount.

TYPECODEID

uniqueidentifier

true

FK to OPPORTUNITYDESIGNATIONTYPECODE

Fields
Field Field Type Null Notes Description

AMOUNT

money

false

0

SEQUENCE

int

false

0

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.

DATE

datetime

true

ORGANIZATIONAMOUNT

money

false

0

The amount of the planned gift designation in organization currency.

TRANSACTIONAMOUNT

money

false

0

The amount of the planned gift designation in transaction currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_PLANNEDGIFTDESIGNATION_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_PLANNEDGIFTDESIGNATION_BASEEXCHANGERATEID

BASEEXCHANGERATEID

False

False

False

IX_PLANNEDGIFTDESIGNATION_DATEADDED

DATEADDED

False

False

True

IX_PLANNEDGIFTDESIGNATION_DATECHANGED

DATECHANGED

False

False

False

IX_PLANNEDGIFTDESIGNATION_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

IX_PLANNEDGIFTDESIGNATION_PLANNEDGIFTID

PLANNEDGIFTID

False

False

False

IX_PLANNEDGIFTDESIGNATION_TRANSACTIONCURRENCYID

TRANSACTIONCURRENCYID

False

False

False

PK_PLANNEDGIFTDESIGNATION

ID

True

True

False

Triggers
Trigger Name Description

TR_PLANNEDGIFTDESIGNATION_INSERTUPDATE_CURRENCY

TR_PLANNEDGIFTDESIGNATION_AUDIT_UPDATE

TR_PLANNEDGIFTDESIGNATION_AUDIT_DELETE

Referenced by
Referenced by Field

PLANNEDGIFTDESIGNATIONCAMPAIGN

PLANNEDGIFTDESIGNATIONID