DESIGNATIONLEVEL
Stores information pertaining to a Fundraising Purpose.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(100) |
|
Default = '' |
The name of the Fundraising Purpose. |
| DESCRIPTION |
nvarchar(255) |
|
Default = '' |
Textual description of the Designation Level. |
| USERID |
nvarchar(100) |
|
Default = '' |
The default lookup ID used for this purpose in designations. |
| 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. |
| VANITYNAME |
nvarchar(512) |
|
Default = '' |
User entered field for a friendly name. |
| TIMEPERIODCODE |
tinyint |
|
Default = 1 |
Indicates the frequency for which this purpose should be reported on. |
| ISENDOWED |
bit |
|
Default = 0 |
|
| ISFULLYFUNDED |
bit |
|
Default = 0 |
|
| ISINCOMETOPRINCIPAL |
bit |
|
Default = 0 |
|
| INCOMETOPRINCIPALPERCENT |
decimal(5, 2) |
|
Default = 0 |
|
| STATEMENTWORDING |
nvarchar(max) |
|
Default = '' |
The giving statement for the stewards of the fundraising purpose. |
| TIMEPERIOD |
nvarchar(14) (Computed) |
yes |
CASE [TIMEPERIODCODE] WHEN 0 THEN N'Not applicable' WHEN 1 THEN N'Annually' WHEN 2 THEN N'Quarterly' WHEN 3 THEN N'Monthly' END |
Provides a translation for the 'TIMEPERIODCODE' field. |
| ENDOWMENTMINAMOUNT |
money |
|
Default = 0 |
The minimum amount of money needed to start an endowment. |
| ENDOWMENTTARGETDATE |
date |
yes |
|
The target date for raising the minimum amount needed to start an endowment. |
| ENDOWMENTMINAMOUNTDATEMET |
date |
yes |
|
The date the minimum amount for the endowment was met. |
| ISACCEPTINGFUNDS |
bit |
|
Default = 1 |
|
| ISDISBURSINGMONEY |
bit |
|
Default = 1 |
|
| ORGANIZATIONENDOWMENTMINAMOUNT |
money |
|
Default = 0 |
The minimum amount of money needed to start an endowment in organization currency. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| DESIGNATIONLEVELCATEGORYCODEID |
uniqueidentifier |
yes |
DESIGNATIONLEVELCATEGORYCODE.ID
|
Code table for specific fundraising category. |
| DESIGNATIONLEVELTYPEID |
uniqueidentifier |
|
DESIGNATIONLEVELTYPE.ID
|
The type of fundraising purpose. |
| ADMINISTRATORID |
uniqueidentifier |
yes |
CONSTITUENT.LOCALID
|
The administrator of this designation level. |
| DESIGNATIONREPORT1CODEID |
uniqueidentifier |
yes |
DESIGNATIONREPORT1CODE.ID
|
Code table for first arbitrary designation report code. |
| DESIGNATIONREPORT2CODEID |
uniqueidentifier |
yes |
DESIGNATIONREPORT2CODE.ID
|
Code table for second arbitrary designation report code. |
| SITEID |
uniqueidentifier |
yes |
SITE.ID
|
The site associated with this purpose. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| STEWARDSHIPPACKAGEPROCESSID |
uniqueidentifier |
yes |
STEWARDSHIPPACKAGEPROCESS.ID
|
The stewardship package associated with the purpose record. |
| BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this purpose. |
| ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert from endowment min amount to organization endowment min amount. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_DESIGNATIONLEVEL_ADMINISTRATORID |
ADMINISTRATORID |
|
|
|
| IX_DESIGNATIONLEVEL_BASECURRENCYID |
BASECURRENCYID |
|
|
|
| IX_DESIGNATIONLEVEL_DATEADDED |
DATEADDED |
|
|
yes |
| IX_DESIGNATIONLEVEL_DATECHANGED |
DATECHANGED |
|
|
|
| IX_DESIGNATIONLEVEL_ID |
ID |
|
|
|
| IX_DESIGNATIONLEVEL_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
| PK_DESIGNATIONLEVEL |
ID |
yes |
yes |
|
| UC_DESIGNATIONLEVEL_USERID |
USERID |
yes |
|
|
| UIX_DESIGNATIONLEVEL_NAME_DESIGNATIONLEVELTYPEID |
NAME, DESIGNATIONLEVELTYPEID |
yes |
|
|
Triggers
Referenced by