SS_DESCR_VWLNG(SQL View) |
Index Back |
---|---|
Employee Info For Dir Rpts |
SELECT A.EMPLID , A.EMPL_RCD , A.EFFDT , JC.LANGUAGE_CD , JC.DESCR , L.DESCR FROM PS_JOB A , PS_JOBCODE_LANG JC , PS_LOCATION_LANG L WHERE A.EFFDT= ( SELECT MAX(A2.EFFDT) FROM PS_JOB A2 WHERE A.EMPLID=A2.EMPLID AND A.EMPL_RCD=A2.EMPL_RCD AND A2.EFFDT<=%CurrentDateIn ) AND A.EFFSEQ= ( SELECT MAX(A3.EFFSEQ) FROM PS_JOB A3 WHERE A.EMPLID=A3.EMPLID AND A.EMPL_RCD=A3.EMPL_RCD AND A.EFFDT=A3.EFFDT ) AND JC.SETID = A.SETID_JOBCODE AND JC.JOBCODE = A.JOBCODE AND JC.EFFDT =( SELECT MAX(JC2.EFFDT) FROM PS_JOBCODE_TBL JC2 WHERE JC2.SETID=JC.SETID AND JC2.JOBCODE=JC.JOBCODE AND JC2.EFFDT<=A.EFFDT ) AND L.SETID = A.SETID_LOCATION AND L.LOCATION = A.LOCATION AND L.EFFDT =( SELECT MAX(L2.EFFDT) FROM PS_LOCATION_TBL L2 WHERE L2.SETID=L.SETID AND L2.LOCATION=L.LOCATION AND L2.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 Rcd Nbr |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | JOBCODE_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Job Code Description |
6 | LOC_DESCR_SS | Character(30) | VARCHAR2(30) NOT NULL | Location Description |