BANKACCOUNTADJUSTMENT (4.0SP11)

This stores bank account adjustment-specific fields.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BANKACCOUNTADJUSTMENTCATEGORYID

uniqueidentifier

true

Adjustment category

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

EXCHANGERATEID

uniqueidentifier

true

The exchange rate used to convert from one bank account amount to another bank account amount.

Fields
Field Field Type Null Notes Description

TRANSFERADJUSTMENTID

uniqueidentifier

true

For transfers, points to the second adjustment

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.

ISORIGINALADJUSTMENT

bit

false

0

For transfer in/out adjustment, mark the originating adjustment true.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BANKACCOUNTADJUSTMENT_DATEADDED

DATEADDED

False

False

True

IX_BANKACCOUNTADJUSTMENT_DATECHANGED

DATECHANGED

False

False

False

PK_BANKACCOUNTADJUSTMENT

ID

True

True

False

Triggers
Trigger Name Description

TR_BANKACCOUNTADJUSTMENT_DELETE_POSTED

TR_BANKACCOUNTADJUSTMENT_AUDIT_UPDATE

TR_BANKACCOUNTADJUSTMENT_AUDIT_DELETE

Referenced by
Referenced by Field

BANKACCOUNTADJUSTMENTATTACHMENT

ADJUSTMENTID

BANKACCOUNTADJUSTMENTMEDIALINK

ADJUSTMENTID

BANKACCOUNTADJUSTMENTNOTE

ADJUSTMENTID