| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| 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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
ORGANIZATIONFROMAMOUNT |
money | Default = 0 | From amount in organization currency. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to convert from amount to organization amount. |
BASECURRENCYID |
uniqueidentifier | ![]() |
CURRENCY.ID | The base currency associated with this gift fee structure. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_GIFTFEESTRUCTURE_BASECURRENCYID |
BASECURRENCYID | |||
IX_GIFTFEESTRUCTURE_DATEADDED |
DATEADDED | ![]() |
||
IX_GIFTFEESTRUCTURE_DATECHANGED |
DATECHANGED | |||
IX_GIFTFEESTRUCTURE_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID | |||
PK_GIFTFEESTRUCTURE |
ID | ![]() |
![]() |
|
UIX_GIFTFEESTRUCTURE_FROMAMOUNT |
FROMAMOUNT | ![]() |
| Trigger Name | Description |
|---|---|
TR_GIFTFEESTRUCTURE_AUDIT_UPDATE |
|
TR_GIFTFEESTRUCTURE_AUDIT_DELETE |
|
TR_GIFTFEESTRUCTURE_INSERTUPDATE_CURRENCY |

ID
FROMAMOUNT
TSLONG
ADDEDBYID
IX_GIFTFEESTRUCTURE_BASECURRENCYID
IX_GIFTFEESTRUCTURE_DATEADDED