PROSPECTASSIGNMENTPROCESS
Contains parameter information for the Prospect Assignment business process.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
The name of the parameter set. |
DESCRIPTION |
nvarchar(255) |
|
Default = '' |
The description of the parameter set. |
PROCESSTYPECODE |
tinyint |
|
Default = 0 |
0=Reassign prospects assignments, 1=Create new prospect assignments |
INCLUDEPROSPECTMANAGERS |
bit |
|
Default = 0 |
|
INCLUDEPRIMARYMANAGERS |
bit |
|
Default = 0 |
|
INCLUDESECONDARYMANAGERS |
bit |
|
Default = 0 |
|
INCLUDESECONDARYSOLICITORS |
bit |
|
Default = 0 |
|
INCLUDESTEPSANDINTERACTIONS |
bit |
|
Default = 0 |
|
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. |
PROCESSTYPE |
nvarchar(31) (Computed) |
yes |
CASE [PROCESSTYPECODE] WHEN 0 THEN N'Reassign prospects assignments' WHEN 1 THEN N'Create new prospect assignments' WHEN 2 THEN N'Remove prospect assignments' END |
|
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
PROSPECTSELECTIONID |
uniqueidentifier |
yes |
IDSETREGISTER.ID
|
Indicates the set of prospects that will be assigned. |
SOURCEMANAGERID |
uniqueidentifier |
yes |
CONSTITUENT.LOCALID
|
FK to CONSTITUENT |
DESTINATIONMANAGERID |
uniqueidentifier |
yes |
CONSTITUENT.LOCALID
|
FK to CONSTITUENT |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_PROSPECTASSIGNMENTPROCESS_DATEADDED |
DATEADDED |
|
|
yes |
IX_PROSPECTASSIGNMENTPROCESS_DATECHANGED |
DATECHANGED |
|
|
|
IX_PROSPECTASSIGNMENTPROCESS_DESTINATIONMANAGERID |
DESTINATIONMANAGERID |
|
|
|
IX_PROSPECTASSIGNMENTPROCESS_SOURCEMANAGERID |
SOURCEMANAGERID |
|
|
|
PK_PROSPECTASSIGNMENTPROCESS |
ID |
yes |
yes |
|
UC_PROSPECTASSIGNMENTPROCESS_NAME |
NAME |
yes |
|
|
Triggers
Referenced by