| ID |
uniqueidentifier |
|
Default = (newid()) |
Primary Key. |
| CONSTITUENTID |
uniqueidentifier |
yes |
|
FK to Constituent table. |
| DATE |
datetime |
|
|
|
| BATCHNUMBER |
nvarchar(100) |
|
Default = '' |
|
| POSTDATE |
datetime |
yes |
|
The date to use when posting the revenue record. |
| DONOTPOST |
bit |
|
Default = 0 |
Indicates whether the revenue should not be posted. |
| DONOTRECEIPT |
bit |
|
Default = 0 |
Indicates that this record should not be receipted. |
| RECEIPTAMOUNT |
money |
|
Default = 0 |
The amount to include for this gift in a receipt. |
| AMOUNT |
money |
|
Default = 0 |
Amount of gift |
| SOURCECODE |
nvarchar(50) |
|
Default = '' |
The direct marketing source code for this record. |
| FINDERNUMBER |
bigint |
|
Default = ((0)) |
The direct marketing finder number for this record. |
| APPEALID |
uniqueidentifier |
yes |
|
The appeal for this record. |
| MAILINGID |
uniqueidentifier |
yes |
|
The mailing for this record. |
| CHANNELCODEID |
uniqueidentifier |
yes |
|
The channel for this record. |
| GIVENANONYMOUSLY |
bit |
|
Default = 0 |
Indicates if this revenue was given anonymously. |
| DONOTACKNOWLEDGE |
bit |
|
Default = 0 |
Indicates that this record should not be acknowledged. |
| BENEFITSWAIVED |
bit |
|
Default = 0 |
Indicates if the benefits for this record were waived by the user. |
| ADDEDBYID |
uniqueidentifier |
|
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
|
FK to CHANGEAGENT. |
| 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. |
| RECEIPTTYPECODE |
tinyint |
|
Default = 0 |
The preference with which to receipt this revenue record. |
| NEEDSRERECEIPT |
bit |
|
Default = 0 |
Designates whether or not this revenue record needs to be re-receipted. |
| TRANSACTIONTYPECODE |
tinyint |
|
Default = 0 |
The type of revenue. |
| RECEIPTTYPE |
nvarchar(12) (Computed) |
yes |
CASE [RECEIPTTYPECODE] WHEN 0 THEN N'Per payment' WHEN 1 THEN N'Consolidated' END |
Provides a translation for the 'RECEIPTTYPECODE' field. |
| ELIGIBLEFORMATCHINGGIFTCLAIM |
bit |
|
Default = 0 |
If true, when this record was added, there was a problem auto-generating matching gift claims and the record may require attention. |
| CUSTOMIDENTIFIER |
nvarchar(100) |
|
Default = '' |
User-definable custom identifier. |
| SEQUENCEID |
int |
|
|
Identity column used to increment the default lookupid. |
| LOOKUPID |
nvarchar(100) (Computed) |
yes |
(CASE LEN(CUSTOMIDENTIFIER) WHEN 0 THEN 'rev-' + CAST(SEQUENCEID AS nvarchar(20)) ELSE CUSTOMIDENTIFIER END) |
Unique identifier that supports user defined values as well as system generated values. |
| ISREIMBURSABLE |
bit |
|
Default = 0 |
Designates whether or not this record is reimbursable. True only valid for grant awards. |
| BASECURRENCYID |
uniqueidentifier |
yes |
|
The base currency associated with this revenue. |
| ORGANIZATIONAMOUNT |
money |
|
Default = 0 |
The amount of the revenue in organization currency. |
| TRANSACTIONAMOUNT |
money |
|
Default = 0 |
The amount of the revenue in transaction currency. |
| TRANSACTIONCURRENCYID |
uniqueidentifier |
yes |
|
The transaction currency associated with this revenue. |
| ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
|
The exchange rate used to convert to organization amount. |
| BASEEXCHANGERATEID |
uniqueidentifier |
yes |
|
The exchange rate used to convert from transaction amount to amount. |
| TRANSACTIONTYPE |
nvarchar(21) (Computed) |
yes |
CASE [TRANSACTIONTYPECODE] WHEN 0 THEN N'Payment' WHEN 1 THEN N'Pledge' WHEN 2 THEN N'Recurring gift' WHEN 3 THEN N'Matching gift claim' WHEN 4 THEN N'Planned gift' WHEN 5 THEN N'Order' WHEN 6 THEN N'Grant award' WHEN 7 THEN N'Auction donation' WHEN 8 THEN N'Donor challenge claim' WHEN 9 THEN N'Pending gift' END |
Provides a translation for the 'TRANSACTIONTYPECODE' field. |
| DESCRIPTION |
nvarchar(700) (Computed) |
yes |
dbo.UFN_PAYMENT_GETDESCRIPTION(ID) |
Provides a translation field for the revenue record |