REVENUEREFERENCETEMP

Stores reference information for revenue transactions.

Fields

Field Field Type Null Notes Description
ID uniqueidentifier Default = (newid()) Primary Key.
REFERENCE nvarchar(255) Default = '' Comments specific to this revenue record.
ADDEDBYID uniqueidentifier FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier FK to CHANGEAGENT.
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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Indexes

Index Name Fields Unique Primary Clustered
IX_REVENUEREFERENCE_DATEADDED DATEADDED yes

Triggers

Trigger Name Description
TR_REVENUEREFERENCE_AUDIT_UPDATE
TR_REVENUEREFERENCE_AUDIT_DELETE
TR_REVENUEREFERENCE_T2BDELETE