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.
 ORGANIZATIONAMOUNT money   Default = 0 The amount of the designation in organization currency.
 TRANSACTIONAMOUNT money   Default = 0 The amount of the designation in transaction currency.

Foreign Key Field Type Null Notes Description
 OPPORTUNITYID uniqueidentifier   OPPORTUNITY.ID FK to OPPORTUNITY
 DESIGNATIONID uniqueidentifier DESIGNATION.ID FK to DESIGNATION
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CONSTITUENTID uniqueidentifier CONSTITUENT.LOCALID FK to CONSTITUENT
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this designation.
 ORGANIZATIONEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from amount to organization amount.
 TRANSACTIONCURRENCYID uniqueidentifier CURRENCY.ID The transaction currency associated with this designation.
 BASEEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID FK to CURRENCYEXCHANGERATE
 FUNDINGMETHODCODEID uniqueidentifier OPPORTUNITYDESIGNATIONFMCODE.ID FK to OPPORTUNITYDESIGNATIONFMCODE
 CATEGORYCODEID uniqueidentifier PLANNEDGIFTDESCATEGORYCODE.ID FK to PLANNEDGIFTDESCATEGORYCODE
 TYPECODEID uniqueidentifier OPPORTUNITYDESIGNATIONTYPECODE.ID FK to OPPORTUNITYDESIGNATIONTYPECODE
 USECODEID uniqueidentifier DESIGNATIONUSECODE.ID FK to DESIGNATIONUSECODE

Index Name Field(s) Unique Primary Clustered
 IX_OPPORTUNITYDESIGNATION_BASECURRENCYID BASECURRENCYID      
 IX_OPPORTUNITYDESIGNATION_CONSTITUENTID CONSTITUENTID      
 IX_OPPORTUNITYDESIGNATION_DATEADDED DATEADDED    
 IX_OPPORTUNITYDESIGNATION_DATECHANGED DATECHANGED      
 IX_OPPORTUNITYDESIGNATION_OPPORTUNITYID OPPORTUNITYID      
 IX_OPPORTUNITYDESIGNATION_ORGANIZATIONEXCHANGERATEID ORGANIZATIONEXCHANGERATEID      
 PK_OPPORTUNITYDESIGNATION ID  

Trigger Name Description
 TR_OPPORTUNITYDESIGNATION_T2BDELETE
 TR_OPPORTUNITYDESIGNATION_AUDIT_UPDATE
 TR_OPPORTUNITYDESIGNATION_AUDIT_DELETE
 TR_OPPORTUNITYDESIGNATION_AUDIT_ETLDELETEDID
 TR_OPPORTUNITYDESIGNATION_INSERTUPDATE_CURRENCY
 TR_OPPORTUNITYDESIGNATION_T2BINSERTUPDATE

Referenced by Field
 OPPORTUNITYDESIGNATIONCAMPAIGN OPPORTUNITYDESIGNATIONID

Entity-Relationship diagram of this table