ADJUSTMENTHISTORYGIFTINKINDPAYMENTMETHODDETAILSNAPSHOT
Stores a snapshot of relevant gift-in-kind detail information at the time of an adjustment.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| SALEAMOUNT |
money |
|
Default = 0 |
The sale amount for the gift-in-kind sell before the adjustment. |
| CONSTITUENTIDENTIFIER |
uniqueidentifier |
yes |
|
Indicates the ID of the constituent before the adjustment |
| NUMBEROFUNITS |
int |
|
Default = 0 |
The number of gift-in-kind units sold. |
| PAYMENTNUMBEROFUNITS |
int |
|
Default = 0 |
The payment's number of units received. |
| PAYMENTFAIRMARKETVALUE |
decimal(19, 4) |
|
Default = 0 |
The payment's fair market value price per unit. |
| TRANSACTIONSALEAMOUNT |
money |
|
Default = 0 |
The sale amount for the gift-in-kind sell in transaction currency before the adjustment. |
| TRANSACTIONPAYMENTFAIRMARKETVALUE |
decimal(19, 4) |
|
Default = 0 |
The payment's fair market value per unit in transaction currency. |
| ORGANIZATIONSALEAMOUNT |
money |
|
Default = 0 |
The sale amount for the gift-in-kind sell in organization currency before the adjustment. |
| ORGANIZATIONPAYMENTFAIRMARKETVALUE |
decimal(19, 4) |
|
Default = 0 |
The payment's fair market value per unit in organization currency. |
| BASERATE |
decimal(20, 8) |
|
Default = 0 |
The rate to be used to convert to the base amount. |
| ORGANIZATIONRATE |
decimal(20, 8) |
|
Default = 0 |
The rate to be used to convert to the organization amount. |
| 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. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this adjustment. |
| TRANSACTIONCURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The transaction currency associated with this adjustment. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_ADJUSTMENTHISTORYGIFTINKINDPAYMENTMETHODDETAILSNAPSHOT_DATEADDED |
DATEADDED |
|
|
yes |
| IX_ADJUSTMENTHISTORYGIFTINKINDPAYMENTMETHODDETAILSNAPSHOT_DATECHANGED |
DATECHANGED |
|
|
|
| PK_ADJUSTMENTHISTORYGIFTINKINDPAYMENTMETHODDETAILSNAPSHOT |
ID |
yes |
yes |
|
Triggers