TRN_DEF_JOB2_VW(SQL View) |
Index Back |
---|---|
Employee job informationAdminister Training view providing employee job information. |
SELECT A.EMPLID ,A.EMPL_RCD , A.BUSINESS_UNIT , A.DEPTID FROM PS_JOB A WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_JOB WHERE EMPLID = A.EMPLID AND EMPL_RCD = A.EMPL_RCD AND EMPL_STATUS IN ('A','L','P','S','W')) AND A.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_JOB WHERE EMPLID = A.EMPLID AND EMPL_RCD = A.EMPL_RCD AND EFFDT = A.EFFDT) AND EMPL_STATUS IN ('A','L','P','S','W') |
# | 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 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |