Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 DUEDATE datetime   Date the charge is Due
 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.
 TYPE int (Computed)   104 The financial transaction type

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

Index Name Field(s) Unique Primary Clustered
 IX_CHARGE_DATEADDED DATEADDED    
 IX_CHARGE_DATECHANGED DATECHANGED      
 IX_CHARGE_DUEDATE DUEDATE      
 PK_CHARGE ID  

Trigger Name Description
 TR_CHARGE_DELETE
 TR_CHARGE_AUDIT_UPDATE
 TR_CHARGE_AUDIT_DELETE

Referenced by Field
 STUDENTCHARGE ID

Entity-Relationship diagram of this table