CM_TASK_ALL_VW2

(SQL View)
Index Back

All Job Task Roles

All Competency/Cluster profiled roles that are identified by a Job Task. This view is used within Person to Role match. It selects the Setid in SETID_JOBTASK to differentiate between the Job code Setid.

SELECT DISTINCT B.SETID, B.JOB_TASK, A.DESCR FROM PS_JOB_TASK_TBL A, PS_CM_ROLE_COMPS B WHERE A.EFFDT = (SELECT MAX(EFFDT) FROM PS_JOB_TASK_TBL WHERE A.SETID = SETID AND A.JOB_TASK = JOB_TASK AND EFFDT <= %CURRENTDATEIN) AND B.EFFDT = (SELECT MAX(EFFDT) FROM PS_CM_ROLE_COMPS WHERE B.POSITION_NBR = POSITION_NBR AND B.SETID=SETID AND B.JOBCODE = JOBCODE AND B.JOB_FAMILY = JOB_FAMILY AND B.JOB_TASK = JOB_TASK AND EFFDT <= %CURRENTDATEIN) AND A.JOB_TASK = B.JOB_TASK AND A.SETID=B.SETID

  • Related Language Record: CM_TSKALVW2_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID_JOBTASK Character(5) VARCHAR2(5) NOT NULL Job Task SetID
    2 JOB_TASK Character(6) VARCHAR2(6) NOT NULL Job Task
    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description