| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
BENEFITPREFERENCE |
nvarchar(500) | Default = '' | Benefit Option Preference | |
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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
BENEFITTYPECODE |
tinyint | Default = 1 | Type of Benefit | |
BENEFITTYPE |
nvarchar(33) (Computed) | ![]() |
CASE [BENEFITTYPECODE] WHEN 0 THEN N'Registration' WHEN 1 THEN N'Fundraising incentive' WHEN 2 THEN N'Participant recruitment incentive' WHEN 3 THEN N'Donation retention incentive' WHEN 4 THEN N'Communications incentive' WHEN 5 THEN N'Volunteer recruitment incentive' END | Provides a translation for the 'BENEFITTYPECODE' field. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
REGISTRANTID |
uniqueidentifier | REGISTRANT.ID | Foreign Key to REGISTRANT table | |
BENEFITID |
uniqueidentifier | BENEFIT.ID | Foreign key to Registrant table | |
BENEFITOPTIONID |
uniqueidentifier | ![]() |
BENEFITOPTION.ID | FK to BENEFITOPTION |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_REGISTRANTBENEFITEXTENSION_DATEADDED |
DATEADDED | ![]() |
||
IX_REGISTRANTBENEFITEXTENSION_DATECHANGED |
DATECHANGED | |||
PK_REGISTRANTBENEFITEXTENSION |
ID | ![]() |
![]() |
|
UIX_REGISTRANTBENEFITEXTENSION_REGISTRANTID_BENEFITID_BENEFITOPTIONID |
REGISTRANTID, BENEFITID, BENEFITOPTIONID | ![]() |
| Trigger Name | Description |
|---|---|
TR_REGISTRANTBENEFITEXTENSION_AUDIT_UPDATE |
|
TR_REGISTRANTBENEFITEXTENSION_AUDIT_DELETE |

ID
BENEFITPREFERENCE
TSLONG
REGISTRANTID
IX_REGISTRANTBENEFITEXTENSION_DATEADDED
IX_REGISTRANTBENEFITEXTENSION_DATECHANGED