Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 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.
 AMOUNT money   Default = 0 Amount of money given to this business unit.
 ORGANIZATIONAMOUNT money   Default = 0 The amount of the revenue split in organization currency.

Foreign Key Field Type Null Notes Description
 REVENUESPLITID uniqueidentifier   FINANCIALTRANSACTIONLINEITEM.ID FK to REVENUESPLIT
 BUSINESSUNITCODEID uniqueidentifier   BUSINESSUNITCODE.ID FK to BUSINESSUNITCODE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 BASECURRENCYID uniqueidentifier CURRENCY.ID The base currency associated with this revenue split.
 ORGANIZATIONEXCHANGERATEID uniqueidentifier CURRENCYEXCHANGERATE.ID The exchange rate used to convert from amount to organization amount.

Index Name Field(s) Unique Primary Clustered
 IX_REVENUESPLITBUSINESSUNIT_DATEADDED DATEADDED    
 IX_REVENUESPLITBUSINESSUNIT_DATECHANGED DATECHANGED      
 PK_REVENUESPLITBUSINESSUNIT ID  
 UIX_REVENUESPLITBUSINESSUNIT_REVENUESPLITID_BUSINESSUNITCODEID REVENUESPLITID, BUSINESSUNITCODEID    

Trigger Name Description
 TR_REVENUESPLITBUSINESSUNIT_AUDIT_UPDATE
 TR_REVENUESPLITBUSINESSUNIT_AUDIT_DELETE
 TR_REVENUESPLITBUSINESSUNIT_INSERTUPDATE_CURRENCY

Entity-Relationship diagram of this table