Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 TAXCLAIMAMOUNT money   Default = 0 Tax claim amount
 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.
 ORGANIZATIONTAXCLAIMAMOUNT money   Default = 0 The tax claim amount of the revenue tribute in organization currency.

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   REVENUETRIBUTE.LOCALID Primary Key.
 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_REVENUETRIBUTETAXCLAIMAMOUNT_DATEADDED DATEADDED    
 IX_REVENUETRIBUTETAXCLAIMAMOUNT_DATECHANGED DATECHANGED      
 PK_REVENUETRIBUTETAXCLAIMAMOUNT ID  

Trigger Name Description
 TR_REVENUETRIBUTETAXCLAIMAMOUNT_AUDIT_UPDATE
 TR_REVENUETRIBUTETAXCLAIMAMOUNT_AUDIT_DELETE
 TR_REVENUETRIBUTETAXCLAIMAMOUNT_INSERTUPDATE_CURRENCY

Entity-Relationship diagram of this table