ADJUSTMENTHISTORYGIFTINKINDPAYMENTMETHODDETAILSNAPSHOT (4.0SP14)

Stores a snapshot of relevant gift-in-kind detail information at the time of an adjustment.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this adjustment.

TRANSACTIONCURRENCYID

uniqueidentifier

true

The transaction currency associated with this adjustment.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

SALEAMOUNT

money

false

0

The sale amount for the gift-in-kind sell before the adjustment.

CONSTITUENTIDENTIFIER

uniqueidentifier

true

Indicates the ID of the constituent before the adjustment

NUMBEROFUNITS

int

false

0

The number of gift-in-kind units sold.

PAYMENTNUMBEROFUNITS

int

false

0

The payment's number of units received.

PAYMENTFAIRMARKETVALUE

decimal(19, 4)

false

0

The payment's fair market value price per unit.

TRANSACTIONSALEAMOUNT

money

false

0

The sale amount for the gift-in-kind sell in transaction currency before the adjustment.

TRANSACTIONPAYMENTFAIRMARKETVALUE

decimal(19, 4)

false

0

The payment's fair market value per unit in transaction currency.

ORGANIZATIONSALEAMOUNT

money

false

0

The sale amount for the gift-in-kind sell in organization currency before the adjustment.

ORGANIZATIONPAYMENTFAIRMARKETVALUE

decimal(19, 4)

false

0

The payment's fair market value per unit in organization currency.

BASERATE

decimal(20, 8)

false

0

The rate to be used to convert to the base amount.

ORGANIZATIONRATE

decimal(20, 8)

false

0

The rate to be used to convert to the organization amount.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_ADJUSTMENTHISTORYGIFTINKINDPAYMENTMETHODDETAILSNAPSHOT_DATEADDED

DATEADDED

False

False

True

IX_ADJUSTMENTHISTORYGIFTINKINDPAYMENTMETHODDETAILSNAPSHOT_DATECHANGED

DATECHANGED

False

False

False

PK_ADJUSTMENTHISTORYGIFTINKINDPAYMENTMETHODDETAILSNAPSHOT

ID

True

True

False

Triggers
Trigger Name Description

TR_ADJUSTMENTHISTORYGIFTINKINDPAYMENTMETHODDETAILSNAPSHOT_AUDIT_UPDATE

TR_ADJUSTMENTHISTORYGIFTINKINDPAYMENTMETHODDETAILSNAPSHOT_AUDIT_DELETE