DESIGNATIONLEVELGIFTFEESTRUCTURE
This table contains override fee structures for gift fees on a designation
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| FROMAMOUNT |
money |
|
Default = 0.00 |
If this value is true the gift fees will be calculated and used. |
| FEE |
decimal(6, 2) |
|
Default = 0 |
|
| 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. |
| ORGANIZATIONFROMAMOUNT |
money |
|
Default = 0 |
From amount in organization currency. |
| USEORGANIZATIONCURRENCY |
bit |
|
Default = 1 |
If true, this gift tree structure is in organization currency. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| DESIGNATIONLEVELID |
uniqueidentifier |
|
DESIGNATIONLEVEL.ID
|
FK to DESIGNATIONLEVEL |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to convert from amount to organization amount. |
| BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this gift fee structure. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_DESIGNATIONLEVELGIFTFEESTRUCTURE_BASECURRENCYID |
BASECURRENCYID |
|
|
|
| IX_DESIGNATIONLEVELGIFTFEESTRUCTURE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_DESIGNATIONLEVELGIFTFEESTRUCTURE_DATECHANGED |
DATECHANGED |
|
|
|
| IX_DESIGNATIONLEVELGIFTFEESTRUCTURE_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
| PK_DESIGNATIONLEVELGIFTFEESTRUCTURE |
ID |
yes |
yes |
|
| UIX_DESIGNATIONLEVELGIFTFEESTRUCTURE_DESIGNATIONLEVELID_FROMAMOUNT |
DESIGNATIONLEVELID, FROMAMOUNT |
yes |
|
|
Triggers