PLANNEDGIFTVEHICLEOPTIONS
Stores options for each of the planned gift vehicle types.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
VEHICLECODE |
tinyint |
|
Default = 0 |
0=Charitable gift annuity, 1=Charitable remainder unitrust, 2=Charitable remainder annuity trust, 3=Charitable lead unitrust, 4=Charitable lead annuity trust, 5=Pooled income fund, 6=Life insurance, 7=Retained life estate, 8=Bargain sale, 9=Outright gift, 10=Bequest, 11=Retirement plan assets, 12=Testamentary charitable trust, 14=Living trust, 13=Other |
AUTOCALCULATEREALIZEDAMOUNT |
bit |
|
Default = 0 |
|
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. |
VEHICLE |
nvarchar(34) (Computed) |
yes |
CASE [VEHICLECODE] WHEN 0 THEN N'Charitable gift annuity' WHEN 1 THEN N'Charitable remainder unitrust' WHEN 2 THEN N'Charitable remainder annuity trust' WHEN 3 THEN N'Charitable lead unitrust' WHEN 4 THEN N'Charitable lead annuity trust' WHEN 5 THEN N'Pooled income fund' WHEN 6 THEN N'Life insurance' WHEN 7 THEN N'Retained life estate' WHEN 8 THEN N'Bargain sale' WHEN 9 THEN N'Outright gift' WHEN 10 THEN N'Bequest' WHEN 11 THEN N'Retirement plan assets' WHEN 12 THEN N'Testamentary charitable trust' WHEN 14 THEN N'Living trust' WHEN 13 THEN N'Other' END |
Provides a translation for the 'VEHICLECODE' field. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_PLANNEDGIFTVEHICLEOPTIONS_DATEADDED |
DATEADDED |
|
|
yes |
IX_PLANNEDGIFTVEHICLEOPTIONS_DATECHANGED |
DATECHANGED |
|
|
|
PK_PLANNEDGIFTVEHICLEOPTIONS |
ID |
yes |
yes |
|
Triggers