CONSTITUENTRECOGNITIONREVENUE
Stores revenue records that relate to constituent recognition programs.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
AMOUNT |
money |
|
Default = 0 |
The recognition amount (stored for processing). |
EFFECTIVEDATE |
datetime |
yes |
|
The date of the revenue (stored for processing). |
ISPLANNEDGIFT |
bit |
|
Default = 0 |
Denotes that this recognition is for a planned gift. |
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. |
ORGANIZATIONAMOUNT |
money |
|
Default = 0 |
The recognition amount (stored for processing) in organization currency. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
RECOGNITIONPROGRAMID |
uniqueidentifier |
yes |
RECOGNITIONPROGRAM.ID
|
The recognition program that this credit is applied to. |
REVENUERECOGNITIONID |
uniqueidentifier |
yes |
REVENUERECOGNITION.ID
|
The associated revenue recognition record |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this recognition program. |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert from recognition amount to organization recognition amount. |
RECOGNITIONCREDITID |
uniqueidentifier |
yes |
RECOGNITIONCREDIT.ID
|
The associated recognition credit record |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_CONSTITUENTRECOGNITIONREVENUE_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_CONSTITUENTRECOGNITIONREVENUE_DATEADDED |
DATEADDED |
|
|
yes |
IX_CONSTITUENTRECOGNITIONREVENUE_DATECHANGED |
DATECHANGED |
|
|
|
IX_CONSTITUENTRECOGNITIONREVENUE_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
IX_CONSTITUENTRECOGNITIONREVENUE_RECOGNITIONPROGRAMID |
RECOGNITIONPROGRAMID |
|
|
|
IX_CONSTITUENTRECOGNITIONREVENUE_REVENUERECOGNITIONID |
REVENUERECOGNITIONID |
|
|
|
PK_CONSTITUENTRECOGNITIONREVENUE |
ID |
yes |
yes |
|
Triggers