PDACCOUNTSYSTEMFORREVENUETEMP

Provides link between Revenue and Account System.

Fields

Field Field Type Null Notes Description
ID uniqueidentifier Default = (newid()) Primary Key.
PDACCOUNTSYSTEMID uniqueidentifier Foreign key to PDAccount system table.
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_PDACCOUNTSYSTEMFORREVENUE_DATEADDED DATEADDED yes

Triggers

Trigger Name Description
TR_PDACCOUNTSYSTEMFORREVENUE_AUDIT_UPDATE
TR_PDACCOUNTSYSTEMFORREVENUE_AUDIT_DELETE