PIM_TSK_CDLGDVW(SQL View) |
Index Back |
---|---|
Delegated task's contactsThis is the dataset rule for Delegated tasks by my Supervisor for the contacts role. |
SELECT DISTINCT S.PERSON_ID , TC.BO_ID_PERSON , %subrec(RB_AUDIT_SBR, R) FROM PS_RB_TSK_CNTCT TC , PS_RB_TSK T , PS_BO_ROLE R , PS_RB_TSK_ASGN TA , PS_RB_TSK_TYPE TT , PS_RB_TSK_DELEGATE DLG , PS_RB_WORKER S WHERE T.TASK_ID = TC.TASK_ID AND R.BO_ID = TC.BO_ID_PERSON AND R.ROLE_TYPE_ID = 8 AND DLG.DELEGATED_BY_PID = TA.PERSON_ID_ASSIGNEE AND DLG.DELEGATED_BY_PID = S.SUPERVISOR_ID AND %DateOut(DLG.START_DT) <= %CurrentDateOut AND %DateOut(DLG.END_DT) >= %CurrentDateOut AND DLG.TSK_DELEGATE_TYPE = 'DT' AND (DLG.TASK_TYPE = 'A11-ALL' OR DLG.TASK_TYPE = T.TASK_TYPE) AND T.TASK_TYPE = TT.TASK_TYPE AND TT.ACTIVE_FLG = 'Y' AND TT.SHOW_IN_CAL_FLG = 'N' AND T.TASK_ID = TA.TASK_ID AND TA.TASK_ASGN_STATUS <>'DCLN' AND DLG.READONLY = 'N' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
3 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
4 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
5 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
6 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
7 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |
8 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |