HR_VWAS_SRCHL_6(SQL View) |
Index Back |
---|---|
Direct Reports Access Type 6Access Type 6 - Partial Position/Department Manager |
SELECT A.SUPERVISOR_ID , A.SUPERVIS_EMPL_RCD , A.EMPLID , A.EMPL_RCD , JC.LANGUAGE_CD , JC.DESCR FROM PS_HR_DIRECT_REP_6 A , PS_JOB B , PS_JOBCODE_LANG JC WHERE A.EMPLID = B.EMPLID AND A.EMPL_RCD = B.EMPL_RCD AND A.JOB_EFFDT = B.EFFDT AND B.EFFSEQ = ( SELECT MAX(JB2.EFFSEQ) FROM PS_JOB JB2 WHERE JB2.EMPLID = B.EMPLID AND JB2.EFFDT = B.EFFDT AND JB2.EMPL_RCD = B.EMPL_RCD) AND B.SETID_JOBCODE = JC.SETID AND B.JOBCODE = JC.JOBCODE AND %EffdtCheck(JOBCODE_LANG JCE, JC, %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SUPERVISOR_ID | Character(11) | VARCHAR2(11) NOT NULL | Supervisor ID |
2 | SUPERVISOR_ERN | Number(3,0) | SMALLINT NOT NULL | This is used to hold the Employment Record Number of a supervisor. |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | JOBCODE_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Job Code Description |