EMPL_CO_LNG_VW(SQL View) |
Index Back |
---|---|
VW- JOB dataJOB_EMPLRCD_VW is a view of the Job record, which gives information on emplid, company and employment record number. |
SELECT DISTINCT A.EMPLID ,A.COMPANY ,B.LANGUAGE_CD ,B.DESCR FROM PS_JOB A , PS_COMPNY_TBL_LANG B WHERE A.COMPANY = B.COMPANY AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_COMPNY_TBL_LANG C WHERE B.COMPANY = C.COMPANY AND C.EFFDT<=A.EFFDT) 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
Default Value: PERSON.EMPLID Prompt Table: PERSON |
2 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |