Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 FROMAMOUNT money   Default = 0.00 If this value is true the gift fees will be calculated and used.
 FEE decimal(6, 2)   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.
 ORGANIZATIONFROMAMOUNT money   Default = 0 From amount in organization currency.
 USEORGANIZATIONCURRENCY bit   Default = 1 If true, this gift tree structure is in organization currency.

Foreign Key Field Type Null Notes Description
 DESIGNATIONLEVELID uniqueidentifier   DESIGNATIONLEVEL.ID FK to DESIGNATIONLEVEL
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 ORGANIZATIONEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from amount to organization amount.
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this gift fee structure.

Index Name Field(s) Unique Primary Clustered
 IX_DESIGNATIONLEVELGIFTFEESTRUCTURE_BASECURRENCYID BASECURRENCYID      
 IX_DESIGNATIONLEVELGIFTFEESTRUCTURE_DATEADDED DATEADDED    
 IX_DESIGNATIONLEVELGIFTFEESTRUCTURE_DATECHANGED DATECHANGED      
 IX_DESIGNATIONLEVELGIFTFEESTRUCTURE_ORGANIZATIONEXCHANGERATEID ORGANIZATIONEXCHANGERATEID      
 PK_DESIGNATIONLEVELGIFTFEESTRUCTURE ID  
 UIX_DESIGNATIONLEVELGIFTFEESTRUCTURE_DESIGNATIONLEVELID_FROMAMOUNT DESIGNATIONLEVELID, FROMAMOUNT    

Trigger Name Description
 TR_DESIGNATIONLEVELGIFTFEESTRUCTURE_AUDIT_UPDATE
 TR_DESIGNATIONLEVELGIFTFEESTRUCTURE_AUDIT_DELETE
 TR_DESIGNATIONLEVELGIFTFEESTRUCTURE_INSERTUPDATE_CURRENCY

Entity-Relationship diagram of this table