Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
int | Default = 0 | ||
![]() |
tinyint | Default = 0 | 0=New, 1=Pending, 2=Assigned, 3=In progress, 4=Completed, 5=Rejected, 6=Canceled | |
![]() |
tinyint | Default = 0 | 0=Individual, 1=Event, 2=Research Group, 3=Organization | |
![]() |
datetime | |||
![]() |
nvarchar(max) | Default = '' | ||
![]() |
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(11) (Computed) | ![]() |
CASE [STATUSCODE] WHEN 0 THEN N'New' WHEN 1 THEN N'Pending' WHEN 2 THEN N'Assigned' WHEN 3 THEN N'In progress' WHEN 4 THEN N'Completed' WHEN 5 THEN N'Rejected' WHEN 6 THEN N'Canceled' END | Provides a translation for the 'STATUSCODE' field. |
![]() |
nvarchar(max) | Default = '' | ||
![]() |
nvarchar(14) (Computed) | ![]() |
CASE [RECORDTYPECODE] WHEN 0 THEN N'Individual' WHEN 1 THEN N'Event' WHEN 2 THEN N'Research Group' WHEN 3 THEN N'Organization' END | Provides a translation for the 'RECORDTYPECODE' field. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | ![]() |
EVENT.ID | FK to EVENT |
![]() |
uniqueidentifier | ![]() |
RESEARCHGROUP.ID | FK to RESEARCHGROUP |
![]() |
uniqueidentifier | PROSPECTRESEARCHREQUESTPRIORITYCODE.ID | FK to PROSPECTRESEARCHREQUESTPRIORITYCODE | |
![]() |
uniqueidentifier | PROSPECTRESEARCHREQUESTTYPECODE.ID | FK to PROSPECTRESEARCHREQUESTTYPECODE | |
![]() |
uniqueidentifier | PROSPECTRESEARCHREQUESTREASONCODE.ID | FK to PROSPECTRESEARCHREQUESTREASONCODE | |
![]() |
uniqueidentifier | CONSTITUENT.LOCALID | FK to CONSTITUENT | |
![]() |
uniqueidentifier | ![]() |
CONSTITUENT.LOCALID | FK to CONSTITUENT |
![]() |
uniqueidentifier | ![]() |
CONSTITUENT.LOCALID | FK to CONSTITUENT |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
PROSPECTRESEARCHREQUESTSTATUSCHANGECODE.ID | FK to PROSPECTRESEARCHREQUESTSTATUSCHANGECODE |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
ASSIGNEDTOID | |||
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
REQUESTEDBYID | |||
![]() |
SUBMITTEDBYID | |||
![]() |
ID | ![]() |
![]() |
|
![]() |
REQUESTNO | ![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
PROSPECTRESEARCHREQUESTID |
![]() |
PROSPECTRESEARCHREQUESTID |
![]() |
PROSPECTRESEARCHREQUESTID |
![]() |
PROSPECTRESEARCHREQUESTID |
![]() |
PROSPECTRESEARCHREQUESTID |