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.

Foreign Key Field Type Null Notes Description
 ADDOPPORTUNITIESPROCESSID uniqueidentifier   ADDOPPORTUNITIESPROCESS.ID FK to ADDOPPORTUNITIESPROCESS
 DESIGNATIONID uniqueidentifier DESIGNATION.ID FK to DESIGNATION
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 TRANSACTIONCURRENCYID uniqueidentifier CURRENCY.ID The transaction currency associated with this designation.
 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_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION_ADDOPPORTUNITIESPROCESSID ADDOPPORTUNITIESPROCESSID      
 IX_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION_DATEADDED DATEADDED    
 IX_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION_DATECHANGED DATECHANGED      
 PK_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION ID  

Trigger Name Description
 TR_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION_AUDIT_UPDATE
 TR_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION_AUDIT_DELETE

Entity-Relationship diagram of this table