GIFTINKINDAPPRAISAL
Stores appraisals of gift-in-kind payments.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| DATE |
date |
yes |
|
The date of the appraisal. |
| AMOUNT |
money |
|
Default = 0 |
The amount at which the gift in kind was appraised. |
| DESCRIPTION |
nvarchar(max) |
|
Default = '' |
Notes on the appraisal. |
| 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. |
| TRANSACTIONAMOUNT |
money |
|
Default = 0 |
The amount of the appraisal in transaction currency. |
| ORGANIZATIONAMOUNT |
money |
|
Default = 0 |
The amount of the appraisal in organization currency. |
| APPRAISALFEE |
money |
|
Default = 0 |
The amount of the appraisal fee. |
| ORGANIZATIONAPPRAISALFEE |
money |
|
Default = 0 |
The amount of the appraisal fee in organization currency. |
| TRANSACTIONAPPRAISALFEE |
money |
|
Default = 0 |
The amount of the appraisal fee in transaction currency. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| GIFTINKINDPAYMENTMETHODDETAILID |
uniqueidentifier |
|
GIFTINKINDPAYMENTMETHODDETAIL.ID
|
The gift in kind payment method details for which this appraisal was made. |
| APPRAISERID |
uniqueidentifier |
yes |
CONSTITUENT.LOCALID
|
The constituent that made the appraisal. |
| 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 appraisal. |
| ORGANIZATIONEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to calculate the organization amount. |
| TRANSACTIONCURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The transaction currency associated with this appraisal. |
| BASEEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to calculate the base amount. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_GIFTINKINDAPPRAISAL_APPRAISERID |
APPRAISERID |
|
|
|
| IX_GIFTINKINDAPPRAISAL_BASECURRENCYID |
BASECURRENCYID |
|
|
|
| IX_GIFTINKINDAPPRAISAL_BASEEXCHANGERATEID |
BASEEXCHANGERATEID |
|
|
|
| IX_GIFTINKINDAPPRAISAL_DATEADDED |
DATEADDED |
|
|
yes |
| IX_GIFTINKINDAPPRAISAL_DATECHANGED |
DATECHANGED |
|
|
|
| IX_GIFTINKINDAPPRAISAL_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
| IX_GIFTINKINDAPPRAISAL_TRANSACTIONCURRENCYID |
TRANSACTIONCURRENCYID |
|
|
|
| PK_GIFTINKINDAPPRAISAL |
ID |
yes |
yes |
|
Triggers