PLANNEDGIFTRECONCILE
This table holds data related to updates made to planned gift and planned gift additions revenue and payments.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
OLDAMOUNT |
money |
|
Default = 0 |
Old payment amount |
NEWAMOUNT |
money |
|
Default = 0 |
Updated payment amount |
OLDDATE |
datetime |
yes |
|
Old payment or revenue date |
NEWDATE |
datetime |
yes |
|
Updated payment or revenue date |
DESIGNATIONCHANGED |
bit |
|
Default = 0 |
Designation changed? |
COMPLETED |
bit |
|
Default = 0 |
Marked completed? |
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. |
OLDDONOTRECEIPT |
bit |
|
Default = 0 |
|
DONOTRECEIPT |
bit |
|
Default = 0 |
|
OLDRECEIPTAMOUNT |
money |
|
Default = 0 |
|
RECEIPTAMOUNT |
money |
|
Default = 0 |
|
TRANSACTIONOLDAMOUNT |
money |
|
Default = 0 |
|
TRANSACTIONNEWAMOUNT |
money |
|
Default = 0 |
|
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
PLANNEDGIFTID |
uniqueidentifier |
|
PLANNEDGIFT.ID
|
FK to PLANNEDGIFT |
REVENUEID |
uniqueidentifier |
yes |
FINANCIALTRANSACTION.ID
|
Link to the revenue record that causes this update. |
PLANNEDGIFTADDITIONID |
uniqueidentifier |
yes |
PLANNEDGIFTADDITION.ID
|
Link to the planned gift addition record. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
BASECURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
|
TRANSACTIONCURRENCYID |
uniqueidentifier |
yes |
CURRENCY.ID
|
|
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_PLANNEDGIFTRECONCILE_DATEADDED |
DATEADDED |
|
|
yes |
IX_PLANNEDGIFTRECONCILE_DATECHANGED |
DATECHANGED |
|
|
|
IX_PLANNEDGIFTRECONCILE_PLANNEDGIFTADDITIONID |
PLANNEDGIFTADDITIONID |
|
|
|
IX_PLANNEDGIFTRECONCILE_PLANNEDGIFTID |
PLANNEDGIFTID |
|
|
|
IX_PLANNEDGIFTRECONCILE_REVENUEID |
REVENUEID |
|
|
|
PK_PLANNEDGIFTRECONCILE |
ID |
yes |
yes |
|
Triggers