Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 ACTIONCODE tinyint   Default = 0 Action taken on a disbursement record.
 ACTION nvarchar(10) (Computed) CASE [ACTIONCODE] WHEN 0 THEN N'Created' WHEN 1 THEN N'Voided' WHEN 2 THEN N'Purged' WHEN 3 THEN N'Reprinted' WHEN 4 THEN N'Renumbered' WHEN 5 THEN N'Committed' END Provides a translation for the 'ACTIONCODE' field.
 ORIGINALNUMBER int   Default = 0 The original transaction number for the check.
 CHANGEDNUMBER int   Default = 0 The number that the disbursement was changed to.
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 FINANCIALTRANSACTIONID uniqueidentifier   FINANCIALTRANSACTION.ID Parent financial transaction record.
 FUTUREFINANCIALTRANSACTIONID uniqueidentifier FINANCIALTRANSACTION.ID The future financial transaction record that this record is for (ex. If void and reprint then this should not be null)
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_DISBURSEMENTHISTORY_DATEADDED DATEADDED    
 IX_DISBURSEMENTHISTORY_DATECHANGED DATECHANGED      
 IX_DISBURSEMENTHISTORY_FINANCIALTRANSACTIONID FINANCIALTRANSACTIONID      
 IX_DISBURSEMENTHISTORY_FUTUREFINANCIALTRANSACTIONID FUTUREFINANCIALTRANSACTIONID      
 PK_DISBURSEMENTHISTORY ID  

Trigger Name Description
 TR_DISBURSEMENTHISTORY_AUDIT_UPDATE
 TR_DISBURSEMENTHISTORY_AUDIT_DELETE

Entity-Relationship diagram of this table