RECOGNITIONLEVEL
Stores data pertaining to recognition program levels.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(100) |
|
Default = '' |
The name of the recognition level. |
| DESCRIPTION |
nvarchar(255) |
|
Default = '' |
The description of the recognition level. |
| AMOUNT |
money (Computed) |
yes |
dbo.UFN_RECOGNITIONLEVEL_GETAMOUNTBYDATE(ID,getdate()) |
The minimum amount of revenue required to join this level. |
| PLANNEDGIFTAMOUNT |
money (Computed) |
yes |
dbo.UFN_RECOGNITIONLEVEL_GETPLANNEDGIFTAMOUNTBYDATE(ID,getdate()) |
The minimum planned gift amount required to join this level. |
| ISACTIVE |
bit |
|
Default = 1 |
|
| 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 (Computed) |
yes |
dbo.UFN_RECOGNITIONLEVEL_GETORGANIZATIONAMOUNTBYDATE(ID,getdate()) |
The minimum amount in organization currency. |
| ORGANIZATIONPLANNEDGIFTAMOUNT |
money (Computed) |
yes |
dbo.UFN_RECOGNITIONLEVEL_GETORGANIZATIONPLANNEDGIFTAMOUNTBYDATE(ID,getdate()) |
The minimum planned gift amount in organization currency. |
| ORGANIZATIONEXCHANGERATEID |
uniqueidentifier (Computed) |
yes |
dbo.UFN_RECOGNITIONLEVEL_GETORGANIZATIONEXCHANGERATEIDBYDATE(ID,getdate()) |
The exchange rate used to convert from minimum amount, minimum planned gift amount to organization minimum amount, organization minimum planned gift amount. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| RECOGNITIONPROGRAMID |
uniqueidentifier |
|
RECOGNITIONPROGRAM.ID
|
FK to RECOGNITIONPROGRAM |
| TIERCODEID |
uniqueidentifier |
yes |
TIERCODE.ID
|
The tier of the recognition level. |
| 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 level. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_RECOGNITIONLEVEL_BASECURRENCYID |
BASECURRENCYID |
|
|
|
| IX_RECOGNITIONLEVEL_DATEADDED |
DATEADDED |
|
|
yes |
| IX_RECOGNITIONLEVEL_DATECHANGED |
DATECHANGED |
|
|
|
| PK_RECOGNITIONLEVEL |
ID |
yes |
yes |
|
| UIX_RECOGNITIONLEVEL_NAME_RECOGNITIONPROGRAMID |
NAME, RECOGNITIONPROGRAMID |
yes |
|
|
Triggers
Referenced by