Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
nvarchar(100) | Default = '' | ||
![]() |
tinyint | Default = 0 | 0=New, 1=Pending, 2=Assigned, 3=In progress, 4=Completed, 5=Rejected, 6=Canceled | |
![]() |
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. |
![]() |
decimal(20, 2) | Default = 0 | ||
![]() |
nvarchar(max) | Default = '' | ||
![]() |
datetime | ![]() |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | PROSPECTRESEARCHREQUEST.ID | FK to PROSPECTRESEARCHREQUEST | |
![]() |
uniqueidentifier | CONSTITUENT.LOCALID | FK to CONSTITUENT | |
![]() |
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 | 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 | |||
![]() |
ID | ![]() |
![]() |
|
![]() |
PROSPECTRESEARCHREQUESTID, CONSTITUENTID | ![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
PROSPECTRESEARCHREQUESTCONSTITUENTID |
![]() |
PROSPECTRESEARCHREQUESTCONSTITUENTID |
![]() |
PROSPECTRESEARCHREQUESTCONSTITUENTID |
![]() |
PROSPECTRESEARCHREQUESTCONSTITUENTID |