PLANNEDGIFTRECEIPTVEHICLE
Stores the list of vehicles for planned gift receipt settings.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
VEHICLECODE |
tinyint |
|
Default = 0 |
Vehicle type that is receiptable. |
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. |
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 |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_PLANNEDGIFTRECEIPTVEHICLE_DATEADDED |
DATEADDED |
|
|
yes |
IX_PLANNEDGIFTRECEIPTVEHICLE_DATECHANGED |
DATECHANGED |
|
|
|
PK_PLANNEDGIFTRECEIPTVEHICLE |
ID |
yes |
yes |
|
Triggers