PLANNEDGIFTSUBTYPECONFIGURATION

Defines which planned gift subtypes are valid for which planned gift vehicle types.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
VEHICLECODE tinyint Default = 1 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
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 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
OTHERSUBTYPECODEID uniqueidentifier PLANNEDGIFTOTHERSUBTYPECODE.ID FK to PLANNEDGIFTOTHERSUBTYPECODE
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_PLANNEDGIFTSUBTYPECONFIGURATION_DATEADDED DATEADDED yes
IX_PLANNEDGIFTSUBTYPECONFIGURATION_DATECHANGED DATECHANGED
PK_PLANNEDGIFTSUBTYPECONFIGURATION ID yes yes
UIX_PLANNEDGIFTSUBTYPECONFIGURATION_VEHICLECODE_OTHERSUBTYPECODEID VEHICLECODE, OTHERSUBTYPECODEID yes

Triggers

Trigger Name Description
TR_PLANNEDGIFTSUBTYPECONFIGURATION_AUDIT_UPDATE
TR_PLANNEDGIFTSUBTYPECONFIGURATION_AUDIT_DELETE