REVENUEPOSTEDDETAIL (4.0SP20)

Records details for posted transactions.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

REVENUEPOSTEDID

uniqueidentifier

false

FK to REVENUEPOSTED

GLBATCHID

uniqueidentifier

true

FK to GLBATCH

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

AMOUNT

money

false

0

REFERENCE

nvarchar(255)

false

''

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_REVENUEPOSTEDDETAIL_DATEADDED

DATEADDED

False

False

True

IX_REVENUEPOSTEDDETAIL_DATECHANGED

DATECHANGED

False

False

False

IX_REVENUEPOSTEDDETAIL_GLBATCHID

GLBATCHID

False

False

False

IX_REVENUEPOSTEDDETAIL_REVENUEPOSTEDID

REVENUEPOSTEDID

False

False

False

PK_REVENUEPOSTEDDETAIL

ID

True

True

False

Triggers
Trigger Name Description

TR_REVENUEPOSTEDDETAIL_AUDIT_UPDATE

TR_REVENUEPOSTEDDETAIL_AUDIT_DELETE