DISBURSEMENTHISTORY (4.0SP20)

History of actions taken on a disbursement record.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

FINANCIALTRANSACTIONID

uniqueidentifier

false

Parent financial transaction record.

FUTUREFINANCIALTRANSACTIONID

uniqueidentifier

true

The future financial transaction record that this record is for (ex. If void and reprint then this should not be null)

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

ACTIONCODE

tinyint

false

0

Action taken on a disbursement record.

ACTION

nvarchar(10) (Computed)

true

Provides a translation for the 'ACTIONCODE' field.

ORIGINALNUMBER

int

false

0

The original transaction number for the check.

CHANGEDNUMBER

int

false

0

The number that the disbursement was changed to.

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_DISBURSEMENTHISTORY_DATEADDED

DATEADDED

False

False

True

IX_DISBURSEMENTHISTORY_DATECHANGED

DATECHANGED

False

False

False

IX_DISBURSEMENTHISTORY_FINANCIALTRANSACTIONID

FINANCIALTRANSACTIONID

False

False

False

IX_DISBURSEMENTHISTORY_FUTUREFINANCIALTRANSACTIONID

FUTUREFINANCIALTRANSACTIONID

False

False

False

PK_DISBURSEMENTHISTORY

ID

True

True

False

Triggers
Trigger Name Description

TR_DISBURSEMENTHISTORY_AUDIT_UPDATE

TR_DISBURSEMENTHISTORY_AUDIT_DELETE