BANKACCOUNTADJUSTMENTCATEGORY (4.0SP20)

Stores bank account adjustment category specific fields.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

TRANSFERBANKACCOUNTID

uniqueidentifier

true

Transfer account

BANKACCOUNTID

uniqueidentifier

false

Bank account ID

ADJUSTMENTFUZZYDATEID

uniqueidentifier

true

Adjustment category fuzzy date

Fields
Field Field Type Null Notes Description

CATEGORY

nvarchar(60)

false

''

Category description

AMOUNT

decimal(19, 4)

false

0

Default amount

DEFAULTREFERENCE

nvarchar(100)

false

''

Default reference

POSTSTATUSCODE

tinyint

false

1

Post status

POSTDATECODE

tinyint

false

1

Post date

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.

ADJUSTMENTTYPECODE

tinyint

false

1

Type of adjustment

ADJUSTMENTTYPE

nvarchar(12) (Computed)

true

Provides a translation for the 'ADJUSTMENTTYPECODE' field.

POSTDATE

nvarchar(15) (Computed)

true

Provides a translation for the 'POSTDATECODE' field.

POSTSTATUS

nvarchar(11) (Computed)

true

Provides a translation for the 'POSTSTATUSCODE' field.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BANKACCOUNTADJUSTMENTCATEGORY_BANKACCOUNTID_TRANSFERBANKACCOUNTID

BANKACCOUNTID

TRANSFERBANKACCOUNTID

False

False

False

IX_BANKACCOUNTADJUSTMENTCATEGORY_DATEADDED

DATEADDED

False

False

True

IX_BANKACCOUNTADJUSTMENTCATEGORY_DATECHANGED

DATECHANGED

False

False

False

PK_BANKACCOUNTADJUSTMENTCATEGORY

ID

True

True

False

UIX_BANKACCOUNTADJUSTMENTCATEGORY_BANKACCOUNTID_CATEGORY

BANKACCOUNTID

CATEGORY

True

False

False

Triggers
Trigger Name Description

TR_BANKACCOUNTADJUSTMENTCATEGORY_AUDIT_UPDATE

TR_BANKACCOUNTADJUSTMENTCATEGORY_AUDIT_DELETE

Referenced by
Referenced by Field

BANKACCOUNTADJUSTMENT

BANKACCOUNTADJUSTMENTCATEGORYID