PY_CO_EM_RCD_VW(SQL View) |
Index Back |
---|---|
VW- JOB dataInformation on company, emplid and employment record number. |
SELECT A.COMPANY , A.EMPLID , A.EMPL_RCD FROM PS_JOB A WHERE 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) /*AND A.HR_STATUS = 'A'*/ |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Default Value: PERSON.EMPLID Prompt Table: PERSON |
3 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |