HR_EERCD_LW1(SQL View) |
Index Back |
---|---|
Rel Lang for HR_EERCD_VW1Related language record for HR_EERCD_VW1. |
SELECT DISTINCT A.EMPLID , A.EMPL_RCD , P.LANGUAGE_CD , P.NAME , P.LAST_NAME FROM PS_JOB A , PS_PERSON_NAME_LNG P WHERE A.EMPLID = P.EMPLID AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_JOB C WHERE C.EMPLID = A.EMPLID AND C.EMPL_RCD = A.EMPL_RCD AND C.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_JOB D WHERE D.EMPLID = A.EMPLID AND D.EMPL_RCD = A.EMPL_RCD AND D.EFFDT = A.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
5 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |