Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 AMOUNT money   Default = 0
 SEQUENCE int   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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 DATE datetime
 ORGANIZATIONAMOUNT money   Default = 0 The amount of the planned gift designation in organization currency.
 TRANSACTIONAMOUNT money   Default = 0 The amount of the planned gift designation in transaction currency.

Foreign Key Field Type Null Notes Description
 PLANNEDGIFTID uniqueidentifier   PLANNEDGIFT.ID FK to PLANNEDGIFT
 DESIGNATIONID uniqueidentifier DESIGNATION.ID FK to DESIGNATION
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CATEGORYCODEID uniqueidentifier PLANNEDGIFTDESCATEGORYCODE.ID FK to PLANNEDGIFTDESCATEGORYCODE
 USECODEID uniqueidentifier DESIGNATIONUSECODE.ID FK to DESIGNATIONUSECODE
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this revenue split.
 ORGANIZATIONEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to calculate the organization amount.
 TRANSACTIONCURRENCYID uniqueidentifier CURRENCY.ID The transaction currency associated with this planned gift designation.
 BASEEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to calculate the base amount.
 TYPECODEID uniqueidentifier OPPORTUNITYDESIGNATIONTYPECODE.ID FK to OPPORTUNITYDESIGNATIONTYPECODE

Index Name Field(s) Unique Primary Clustered
 IX_PLANNEDGIFTDESIGNATION_BASECURRENCYID BASECURRENCYID      
 IX_PLANNEDGIFTDESIGNATION_BASEEXCHANGERATEID BASEEXCHANGERATEID      
 IX_PLANNEDGIFTDESIGNATION_DATEADDED DATEADDED    
 IX_PLANNEDGIFTDESIGNATION_DATECHANGED DATECHANGED      
 IX_PLANNEDGIFTDESIGNATION_ORGANIZATIONEXCHANGERATEID ORGANIZATIONEXCHANGERATEID      
 IX_PLANNEDGIFTDESIGNATION_PLANNEDGIFTID PLANNEDGIFTID      
 IX_PLANNEDGIFTDESIGNATION_TRANSACTIONCURRENCYID TRANSACTIONCURRENCYID      
 PK_PLANNEDGIFTDESIGNATION ID  

Trigger Name Description
 TR_PLANNEDGIFTDESIGNATION_INSERTUPDATE_CURRENCY
 TR_PLANNEDGIFTDESIGNATION_AUDIT_UPDATE
 TR_PLANNEDGIFTDESIGNATION_AUDIT_DELETE

Referenced by Field
 PLANNEDGIFTDESIGNATIONCAMPAIGN PLANNEDGIFTDESIGNATIONID

Entity-Relationship diagram of this table