Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 PAYMENTMETHODCODE tinyint   Default = 0
 PAYMENTMETHOD nvarchar(11) (Computed) CASE [PAYMENTMETHODCODE] WHEN 0 THEN N'Cash' WHEN 1 THEN N'Check' WHEN 2 THEN N'Credit card' WHEN 3 THEN N'Other' END
 CORRECTIONTYPECODE tinyint   Default = 0
 CORRECTIONTYPE nvarchar(8) (Computed) CASE [CORRECTIONTYPECODE] WHEN 0 THEN N'Sales' WHEN 1 THEN N'Treasury' END
 DATEADDED datetime   Default = getdate()
 DATECHANGED datetime   Default = getdate()
 TS timestamp  
 TSLONG bigint (Computed) CONVERT(bigint, TS)

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   FINANCIALTRANSACTION.ID
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID

Index Name Field(s) Unique Primary Clustered
 IX_BANKACCOUNTDEPOSITCORRECTION_EXT_DATEADDED DATEADDED    
 IX_BANKACCOUNTDEPOSITCORRECTION_EXT_DATECHANGED DATECHANGED      
 PK_BANKACCOUNTDEPOSITCORRECTION_EXT ID  

Trigger Name Description
 TR_BANKACCOUNTDEPOSITCORRECTION_EXT_AUDIT_UPDATE
 TR_BANKACCOUNTDEPOSITCORRECTION_EXT_AUDIT_DELETE

Entity-Relationship diagram of this table