CM_JOBCDVW2_LNG(SQL View) |
Index Back |
---|---|
All Jobcode rolesAll Competency/Cluster profiled roles that are identified by a Job Code. This view is used within Person to Role match. It selects the Setid in SETID_JOBCODE to differentiate between the Job Task Setid. |
SELECT DISTINCT A.SETID , A.JOBCODE , B.LANGUAGE_CD , B.DESCR FROM PS_CM_ROLE_COMPS A , PS_JOBCODE_LANG 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 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID_JOBCODE | Character(5) | VARCHAR2(5) NOT NULL | Job Code Set ID |
2 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |