HR_ACTIVEJOB_LW(SQL View) |
Index Back |
---|---|
Rel lang for HR_ACTIVEJOB_VWRelated language record for HR_ACTIVEJOB_VW. |
SELECT J.EMPLID , J.EMPL_RCD , J.EFFDT , N.LANGUAGE_CD , N.NAME_DISPLAY FROM PS_JOB J , PS_PERSON_NAME_LNG N WHERE J.EMPLID = N.EMPLID AND (J.EFFDT = ( SELECT MAX (C.EFFDT) FROM PS_JOB C WHERE C.EMPLID = J.EMPLID AND C.EMPL_RCD = J.EMPL_RCD AND C.EFFDT <= %CurrentDateIn) OR J.EFFDT > %CurrentDateIn) AND J.EFFSEQ = ( SELECT MAX(JE.EFFSEQ) FROM PS_JOB JE WHERE JE.EMPLID = J.EMPLID AND JE.EMPL_RCD = J.EMPL_RCD AND JE.EFFDT = J.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON_NAME |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |