Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
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) | CONVERT(bigint, TS) | Numeric representation of the timestamp. | |
PROCESSTYPE | nvarchar(31) (Computed) | 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 Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
PROSPECTSELECTIONID | uniqueidentifier | IDSETREGISTER.ID | Indicates the set of prospects that will be assigned. | |
SOURCEMANAGERID | uniqueidentifier | CONSTITUENT.LOCALID | FK to CONSTITUENT | |
DESTINATIONMANAGERID | uniqueidentifier | CONSTITUENT.LOCALID | FK to CONSTITUENT | |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
IX_PROSPECTASSIGNMENTPROCESS_DATEADDED | DATEADDED | |||
IX_PROSPECTASSIGNMENTPROCESS_DATECHANGED | DATECHANGED | |||
IX_PROSPECTASSIGNMENTPROCESS_DESTINATIONMANAGERID | DESTINATIONMANAGERID | |||
IX_PROSPECTASSIGNMENTPROCESS_SOURCEMANAGERID | SOURCEMANAGERID | |||
PK_PROSPECTASSIGNMENTPROCESS | ID | |||
UC_PROSPECTASSIGNMENTPROCESS_NAME | NAME |
Trigger Name | Description |
---|---|
TR_PROSPECTASSIGNMENTPROCESS_AUDIT_UPDATE | |
TR_PROSPECTASSIGNMENTPROCESS_AUDIT_DELETE |
Referenced by | Field |
---|---|
PROSPECTASSIGNMENTPROCESSSTATUS | PARAMETERSETID |