Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 WRITEOFFIDENTIFIER nvarchar(36)   Default = '' Used to group adjustment histories by write-off records. Do not join using this field.
 REVENUETYPE nvarchar(25)   Default = '' Used to indicate the type of the revenue the write-off applied to.
 CONSTITUENTNAME nvarchar(255)   Default = '' Indicates the constituent who owned the write-off which was deleted.
 DATE datetime   Indicates the date on the write-off item which was adjusted.
 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.
 WRITEOFFADJUSTMENTID uniqueidentifier Indicates the adjustment to which this historic information applies.
 ADJUSTMENTIDENTIFIER nvarchar(36)   Default = '' Used to group adjustment histories by adjustments. Do not join using this field.
 ADJUSTMENTDATE datetime Indicates the date the adjustment was made.
 ADJUSTMENTPOSTDATE datetime Indicates the date the post date of the adjustment.
 ADJUSTMENTREASON nvarchar(300)   Default = '' Gives further details for why this adjustment was made.

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 GLTRANSACTIONID uniqueidentifier JOURNALENTRY.ID Indicates any reversal attached to this adjustment (but only for deletions).
 ADJUSTMENTREASONCODEID uniqueidentifier ADJUSTMENTREASONCODE.ID Indicates the reason this adjustment was made.

Index Name Field(s) Unique Primary Clustered
 IX_ADJUSTMENTHISTORYWRITEOFF_DATEADDED DATEADDED    
 IX_ADJUSTMENTHISTORYWRITEOFF_DATECHANGED DATECHANGED      
 IX_ADJUSTMENTHISTORYWRITEOFF_GLTRANSACTIONID GLTRANSACTIONID      
 PK_ADJUSTMENTHISTORYWRITEOFF ID  

Trigger Name Description
 TR_ADJUSTMENTHISTORYWRITEOFF_AUDIT_UPDATE
 TR_ADJUSTMENTHISTORYWRITEOFF_AUDIT_DELETE

Referenced by Field
 ADJUSTMENTHISTORYWRITEOFFDETAIL ADJUSTMENTHISTORYWRITEOFFID
 ADJUSTMENTHISTORYWRITEOFFDISTRIBUTION ADJUSTMENTHISTORYWRITEOFFID
 ADJUSTMENTHISTORYWRITEOFFDISTRIBUTIONSNAPSHOT ADJUSTMENTHISTORYWRITEOFFID

Entity-Relationship diagram of this table