Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 ADDRESSBOOKFAFID uniqueidentifier Non required Foreign Key ID from ADDRESSBOOKFAF Table
 DONORNAME nvarchar(255)   Default = '' Donor name to aknowledgee
 AMOUNT money   Default = 0 Donation Amount
 PAYMENTTYPECODE tinyint   Default = 0 Payment type can be: Check or Cash
 CHECKNUMBER nvarchar(20)   Default = '' Check Number
 EXPECTEDDATE datetime Expected Donation Date
 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.
 PAYMENTTYPE nvarchar(5) (Computed) CASE [PAYMENTTYPECODE] WHEN 0 THEN N'Cash' WHEN 1 THEN N'Check' WHEN 9 THEN N'None' END Provides a translation for the 'PAYMENTTYPECODE' field.
 LOCALCORPNAME nvarchar(20)   Default = 'none'

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   FINANCIALTRANSACTION.ID Primary Key.
 CLIENTUSERSID int   ClientUsers.ID userid of the client
 EVENTID uniqueidentifier EVENT.ID Foreign Key to EVENT table
 REGISTRANTID uniqueidentifier REGISTRANT.ID Foreign Key to REGISTRANT table
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_REVENUEOFFLINEDONATION_CLIENTUSERSID CLIENTUSERSID      
 IX_REVENUEOFFLINEDONATION_DATEADDED DATEADDED    
 IX_REVENUEOFFLINEDONATION_DATECHANGED DATECHANGED      
 PK_REVENUEOFFLINEDONATION ID  

Trigger Name Description
 TR_REVENUEOFFLINEDONATION_AUDIT_UPDATE
 TR_REVENUEOFFLINEDONATION_AUDIT_DELETE

Entity-Relationship diagram of this table