REVENUEOFFLINEDONATION
Participant Offline Donation
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
ADDRESSBOOKFAFID |
uniqueidentifier |
yes |
|
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 |
yes |
|
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
PAYMENTTYPE |
nvarchar(5) (Computed) |
yes |
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' |
Type of payment processor selected if available |
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_REVENUEOFFLINEDONATION_CLIENTUSERSID |
CLIENTUSERSID |
|
|
|
IX_REVENUEOFFLINEDONATION_DATEADDED |
DATEADDED |
|
|
yes |
IX_REVENUEOFFLINEDONATION_DATECHANGED |
DATECHANGED |
|
|
|
PK_REVENUEOFFLINEDONATION |
ID |
yes |
yes |
|
Triggers