PLANNEDGIFTADDITIONASSET
Table of assets within each planned gift addition.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| DESCRIPTION |
nvarchar(1000) |
|
Default = '' |
|
| VALUE |
money |
|
Default = 0 |
|
| COSTBASIS |
money |
|
Default = 0 |
|
| VALUATIONSOURCE |
nvarchar(200) |
|
Default = '' |
|
| SEQUENCE |
int |
|
Default = 0 |
|
| TRANSACTIONVALUE |
money |
|
Default = 0 |
The value of the planned gift asset in transaction currency. |
| ORGANIZATIONVALUE |
money |
|
Default = 0 |
The value of the planned gift asset in organization currency. |
| TRANSACTIONCOSTBASIS |
money |
|
Default = 0 |
The cost basis of the planned gift asset in transaction currency. |
| ORGANIZATIONCOSTBASIS |
money |
|
Default = 0 |
The cost basis of the planned gift asset in organization currency. |
| 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 |
| PLANNEDGIFTADDITIONID |
uniqueidentifier |
|
PLANNEDGIFTADDITION.ID
|
FK to PLANNEDGIFTADDITION |
| ASSETTYPECODEID |
uniqueidentifier |
yes |
ASSETTYPECODE.ID
|
FK to ASSETTYPECODE |
| ASSETVALUATIONMETHODCODEID |
uniqueidentifier |
yes |
ASSETVALUATIONMETHODCODE.ID
|
FK to ASSETVALUATIONMETHODCODE |
| ADDRESSID |
uniqueidentifier |
yes |
ADDRESS.LOCALID
|
FK to ADDRESS |
| BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
The base currency associated with this asset. |
| 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 planned gift asset. |
| BASEEXCHANGERATEID |
uniqueidentifier |
yes |
CURRENCYEXCHANGERATE.ID
|
The exchange rate used to calculate the base amount. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_PLANNEDGIFTADDITIONASSET_BASECURRENCYID |
BASECURRENCYID |
|
|
|
| IX_PLANNEDGIFTADDITIONASSET_BASEEXCHANGERATEID |
BASEEXCHANGERATEID |
|
|
|
| IX_PLANNEDGIFTADDITIONASSET_DATEADDED |
DATEADDED |
|
|
yes |
| IX_PLANNEDGIFTADDITIONASSET_DATECHANGED |
DATECHANGED |
|
|
|
| IX_PLANNEDGIFTADDITIONASSET_ORGANIZATIONEXCHANGERATEID |
ORGANIZATIONEXCHANGERATEID |
|
|
|
| IX_PLANNEDGIFTADDITIONASSET_TRANSACTIONCURRENCYID |
TRANSACTIONCURRENCYID |
|
|
|
| PK_PLANNEDGIFTADDITIONASSET |
ID |
yes |
yes |
|
Triggers
Referenced by