Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
DATE | date | 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) | 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 | ||
ORGANIZATIONAPPRAISALFEE | money | Default = 0 | ||
TRANSACTIONAPPRAISALFEE | money | Default = 0 |
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 | CONSTITUENT.LOCALID | The constituent that made the appraisal. | |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
BASECURRENCYID | uniqueidentifier | CURRENCY.ID | The base currency associated with this appraisal. | |
ORGANIZATIONEXCHANGERATEID | uniqueidentifier | CURRENCYEXCHANGERATE.ID | The exchange rate used to calculate the organization amount. | |
TRANSACTIONCURRENCYID | uniqueidentifier | CURRENCY.ID | The transaction currency associated with this appraisal. | |
BASEEXCHANGERATEID | uniqueidentifier | CURRENCYEXCHANGERATE.ID | The exchange rate used to calculate the base amount. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
IX_GIFTINKINDAPPRAISAL_APPRAISERID | APPRAISERID | |||
IX_GIFTINKINDAPPRAISAL_BASECURRENCYID | BASECURRENCYID | |||
IX_GIFTINKINDAPPRAISAL_BASEEXCHANGERATEID | BASEEXCHANGERATEID | |||
IX_GIFTINKINDAPPRAISAL_DATEADDED | DATEADDED | |||
IX_GIFTINKINDAPPRAISAL_DATECHANGED | DATECHANGED | |||
IX_GIFTINKINDAPPRAISAL_ORGANIZATIONEXCHANGERATEID | ORGANIZATIONEXCHANGERATEID | |||
IX_GIFTINKINDAPPRAISAL_TRANSACTIONCURRENCYID | TRANSACTIONCURRENCYID | |||
PK_GIFTINKINDAPPRAISAL | ID |
Trigger Name | Description |
---|---|
TR_GIFTINKINDAPPRAISAL_INSERTUPDATE_CURRENCY | |
TR_GIFTINKINDAPPRAISAL_AUDIT_UPDATE | |
TR_GIFTINKINDAPPRAISAL_AUDIT_DELETE |