RB_TSKDLSLSP_VW(SQL View) |
Index Back |
---|---|
Task Delegated ViewTask Delegated to Provider Group Memebers View. Used for Data Distribution rules in My Tasks. |
SELECT T.TASK_ID , D.TASK_TYPE , T.SYNCID , T.SYNCDTTM , M.PERSON_ID , D.TSK_DELEGATE_ID , CASE WHEN D.TASK_LIST = 'MT' THEN D.PERSON_ID ELSE (CASE WHEN D.TASK_LIST = 'DT' THEN RSF.PERSON_ID ELSE D.TASK_LIST END) END , RSF.PERSON_ID_MANAGER , TA.OWNER , D.READONLY FROM PS_RB_TSK T , PS_RB_TSK_ASGN TA , PS_RB_TSK_DELEGATE D , PS_RF_GRP_MEMBER M , PS_RSF_ACC_MGR_VW RSF , PS_RB_TSK_TYPE TT WHERE %Substring(D.TSK_DELEGATE_ID,1,10) = M.PROVIDER_GRP_ID AND M.STATUS = 'A' AND M.PERSON_ID <> D.PERSON_ID AND TT.TASK_TYPE = T.TASK_TYPE AND %DateIn(D.START_DT) <= %CurrentDateIn AND %DateOut(D.END_DT) >= %CurrentDateOut AND (D.TASK_TYPE = 'A11-ALL' OR D.TASK_TYPE = T.TASK_TYPE) AND (D.TSK_INCL_PRIVT_FLG = 'Y' OR T.PRIVATE_FLG = 'N') AND D.TSK_DELEGATE_TYPE = 'P' AND D.PERSON_ID = TA.PERSON_ID_ASSIGNEE AND TA.TASK_ID = T.TASK_ID AND (TA.OWNER = 'Y' OR (TA.OWNER <> 'Y' AND TA.TASK_ASGN_STATUS <> 'DCLN')) AND RSF.PERSON_ID = M.PERSON_ID AND RSF.PERSON_ID_MANAGER <> RSF.PERSON_ID AND TT.SHOW_IN_LIST_FLG = 'Y' AND TT.ACTIVE_FLG = 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | TASK_ID | Number(15,0) | DECIMAL(15) NOT NULL |
TaskIID field. Key for RB_TSK record. Used by Task Management.
Default Value: 999999999999 |
2 | TASK_TYPE | Character(18) | VARCHAR2(18) NOT NULL | Copied from Resouce Management (8.1). Added new label id for "Task Type" |
3 | 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. |
4 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |
5 | PERSON_ID_ASSIGNEE | Character(15) | VARCHAR2(15) NOT NULL |
Contact Identifier for Treasury Contacts
Prompt Table: RB_WORKER_SRCH |
6 | TSK_DELEGATE_ID | Character(30) | VARCHAR2(30) NOT NULL | Id of the Person or Group to whom the task is delegated. |
7 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
8 | PERSON_ID_MANAGER | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
9 | OWNER | Character(1) | VARCHAR2(1) NOT NULL |
Owner
N=No Y=Yes |
10 | READONLY | Character(1) | VARCHAR2(1) NOT NULL | Read Only |