Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
tinyint | Default = 0 | 0=Primary beneficiary, 1=Secondary beneficiary, 2=Tertiary beneficiary | |
![]() |
int | Default = 0 | ||
![]() |
datetime | Default = getdate() | Indicates the date this record was added. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
![]() |
timestamp | Timestamp. | ||
![]() |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
![]() |
nvarchar(21) (Computed) | ![]() |
CASE [PRIORITYCODE] WHEN 0 THEN N'Primary beneficiary' WHEN 1 THEN N'Secondary beneficiary' WHEN 2 THEN N'Tertiary beneficiary' END | Provides a translation for the 'PRIORITYCODE' field. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | PLANNEDGIFT.ID | FK to PLANNEDGIFT | |
![]() |
uniqueidentifier | ![]() |
BENEFICIARYTYPECODE.ID | FK to BENEFICIARYTYPECODE |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CONSTITUENT.LOCALID | FK to CONSTITUENT |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
ID | ![]() |
![]() |
|
![]() |
PLANNEDGIFTID, BENEFICIARYCONSTITUENTID | ![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |