RECOGNITIONLEVELAMOUNT
Stores amounts for recognition levels.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
AMOUNT |
money |
|
Default = 0 |
The amount needed to qualify for this recognition level. |
PLANNEDGIFTAMOUNT |
money |
|
Default = 0 |
The amount needed to qualify for this recognition level. |
ACTIVEDATE |
datetime |
yes |
|
The date when this amount becomes active to use for processing. |
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 qualification amount in organization currency. |
ORGANIZATIONPLANNEDGIFTAMOUNT |
money |
|
Default = 0 |
The planned gift qualification amount in organization currency. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
RECOGNITIONLEVELID |
uniqueidentifier |
yes |
RECOGNITIONLEVEL.ID
|
The recognition level for this amount. |
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 maximum gift amount to organization maximum gift amount. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_RECOGNITIONLEVELAMOUNT_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_RECOGNITIONLEVELAMOUNT_DATEADDED |
DATEADDED |
|
|
yes |
IX_RECOGNITIONLEVELAMOUNT_DATECHANGED |
DATECHANGED |
|
|
|
IX_RECOGNITIONLEVELAMOUNT_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
IX_RECOGNITIONLEVELAMOUNT_RECOGNITIONLEVELID |
RECOGNITIONLEVELID |
|
|
|
PK_RECOGNITIONLEVELAMOUNT |
ID |
yes |
yes |
|
Triggers