CM_JOBCD_ALL_VW

(SQL View)
Index Back

All Jobcode roles

All Competency/Cluster profiled roles that are identified by a Job Code.

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

  • Related Language Record: CM_JBCDALVW_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description