REVENUETRIBUTE (4.0SP20)

Stores information pertaining to revenue tributes.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

REVENUEID

uniqueidentifier

false

The revenue corresponding to this record.

TRIBUTEID

uniqueidentifier

false

The tribute corresponding to this record.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this record.

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to convert from amount to organization amount.

Fields
Field Field Type Null Notes Description

AMOUNT

money

false

0

The amount of the revenue tribute.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

ORGANIZATIONAMOUNT

money

false

0

The amount of the revenue tribute in organization currency.

ISTRIBUTEANONYMOUS

bit

false

0

I would like to donation to remain anonymous

Indexes
Index Name Field(s) Unique Primary Clustered

IX_REVENUETRIBUTE_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_REVENUETRIBUTE_DATEADDED

DATEADDED

False

False

True

IX_REVENUETRIBUTE_DATECHANGED

DATECHANGED

False

False

False

IX_REVENUETRIBUTE_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

PK_REVENUETRIBUTE

ID

True

True

False

UIX_REVENUETRIBUTE_REVENUEID_TRIBUTEID

REVENUEID

TRIBUTEID

True

False

False

Triggers
Trigger Name Description

TR_REVENUETRIBUTE_AUDIT_ETLDELETEDID

TR_REVENUETRIBUTE_INSERTUPDATE_CURRENCY

TR_REVENUETRIBUTE_AUDIT_UPDATE

TR_REVENUETRIBUTE_AUDIT_DELETE

Referenced by
Referenced by Field

REVENUETRIBUTELETTER

REVENUETRIBUTEID

REVENUETRIBUTETAXCLAIMAMOUNT

ID