RB_TSK_DELGS_VW

(SQL View)
Index Back

Task Delegated View

Task Delegated to Sales Team Members View. Used for Data Distribution rules in My Tasks.

SELECT T.TASK_ID ,T.SYNCID , T.SYNCDTTM , M.PERSON_ID , D.TSK_DELEGATE_ID FROM PS_RB_TSK T , PS_RB_TSK_ASGN TA , PS_RB_TSK_DELEGATE D , PS_RB_TSK_TYPE TY , PS_RSF_TEAM_MBRS M WHERE D.TSK_DELEGATE_ID = M.TEAM_ID AND D.PERSON_ID = TA.PERSON_ID_ASSIGNEE AND D.PERSON_ID <> M.PERSON_ID AND %DateOut(D.START_DT) <= %CurrentDateOut 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 = 'S' AND T.TASK_ID = TA.TASK_ID AND T.TASK_TYPE = TY.TASK_TYPE AND TY.SHOW_IN_CAL_FLG = 'Y' AND T.START_DATE IS NOT NULL AND T.START_TIME IS NOT NULL AND T.END_DATE IS NOT NULL AND T.END_TIME IS NOT NULL AND T.TASK_STATUS <> 'DCLN'

# 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 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.
3 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time
4 PERSON_ID_ASSIGNEE Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts

Prompt Table: RB_WORKER_SRCH

5 TSK_DELEGATE_ID Character(30) VARCHAR2(30) NOT NULL Id of the Person or Group to whom the task is delegated.