Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 AMOUNT money   Default = 0 The amount of the revenue tribute.
 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 revenue tribute in organization currency.
 ISTRIBUTEANONYMOUS bit   Default = 0 I would like to donation to remain anonymous

Foreign Key Field Type Null Notes Description
 REVENUEID uniqueidentifier   FINANCIALTRANSACTION.ID The revenue corresponding to this record.
 TRIBUTEID uniqueidentifier   TRIBUTE.LOCALID The tribute corresponding to this record.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this record.
 ORGANIZATIONEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from amount to organization amount.

Index Name Field(s) Unique Primary Clustered
 IX_REVENUETRIBUTE_BASECURRENCYID BASECURRENCYID      
 IX_REVENUETRIBUTE_DATEADDED DATEADDED    
 IX_REVENUETRIBUTE_DATECHANGED DATECHANGED      
 IX_REVENUETRIBUTE_ORGANIZATIONEXCHANGERATEID ORGANIZATIONEXCHANGERATEID      
 PK_REVENUETRIBUTE ID  
 UIX_REVENUETRIBUTE_REVENUEID_TRIBUTEID REVENUEID, TRIBUTEID    

Trigger Name Description
 TR_REVENUETRIBUTE_AUDIT_ETLDELETEDID
 TR_REVENUETRIBUTE_AUDIT_UPDATE
 TR_REVENUETRIBUTE_AUDIT_DELETE
 TR_REVENUETRIBUTE_INSERTUPDATE_CURRENCY

Referenced by Field
 REVENUETRIBUTELETTER REVENUETRIBUTEID
 REVENUETRIBUTETAXCLAIMAMOUNT ID

Entity-Relationship diagram of this table