PLANNEDGIFTASSET (4.0SP14)

Table of assets within each planned gift.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

PLANNEDGIFTID

uniqueidentifier

false

FK to PLANNEDGIFT

ASSETTYPECODEID

uniqueidentifier

true

FK to ASSETTYPECODE

ASSETVALUATIONMETHODCODEID

uniqueidentifier

true

FK to ASSETVALUATIONMETHODCODE

ADDRESSID

uniqueidentifier

true

FK to ADDRESS

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this asset.

ORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to calculate the organization amount.

TRANSACTIONCURRENCYID

uniqueidentifier

true

The transaction currency associated with this planned gift asset.

BASEEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to calculate the base amount.

Fields
Field Field Type Null Notes Description

DESCRIPTION

nvarchar(1000)

false

''

VALUE

money

false

0

COSTBASIS

money

false

0

VALUATIONSOURCE

nvarchar(200)

false

''

SEQUENCE

int

false

0

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.

TRANSACTIONVALUE

money

false

0

The value of the planned gift asset in transaction currency.

ORGANIZATIONVALUE

money

false

0

The value of the planned gift asset in organization currency.

TRANSACTIONCOSTBASIS

money

false

0

The cost basis of the planned gift asset in transaction currency.

ORGANIZATIONCOSTBASIS

money

false

0

The cost basis of the planned gift asset in organization currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_PLANNEDGIFTASSET_ADDRESSID

ADDRESSID

False

False

False

IX_PLANNEDGIFTASSET_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_PLANNEDGIFTASSET_BASEEXCHANGERATEID

BASEEXCHANGERATEID

False

False

False

IX_PLANNEDGIFTASSET_DATEADDED

DATEADDED

False

False

True

IX_PLANNEDGIFTASSET_DATECHANGED

DATECHANGED

False

False

False

IX_PLANNEDGIFTASSET_ORGANIZATIONEXCHANGERATEID

ORGANIZATIONEXCHANGERATEID

False

False

False

IX_PLANNEDGIFTASSET_TRANSACTIONCURRENCYID

TRANSACTIONCURRENCYID

False

False

False

PK_PLANNEDGIFTASSET

ID

True

True

False

Triggers
Trigger Name Description

TR_PLANNEDGIFTASSET_INSERTUPDATE_CURRENCY

TR_PLANNEDGIFTASSET_AUDIT_UPDATE

TR_PLANNEDGIFTASSET_AUDIT_DELETE

Referenced by
Referenced by Field

PLANNEDGIFTASSETHOLDER

PLANNEDGIFTASSETID