HR_SSEERCDVWLNG

(SQL View)
Index Back

Compensation History

Compensation History Self Service Transaction: This view returns Job All Titles for each employees.

SELECT DISTINCT A.EMPLID , A.EMPL_RCD , B2.LANGUAGE_CD , A.EFFDT , B2.DESCR , C2.DESCR FROM PS_JOB A , PS_DEPT_TBL B , PS_DEPT_TBL_LANG B2 , PS_JOBCODE_TBL C , PS_JOBCODE_LANG C2 WHERE A.EFFDT=( SELECT MAX(EFFDT) FROM PS_JOB JOB WHERE JOB.EMPLID=A.EMPLID AND JOB.EMPL_RCD=A.EMPL_RCD AND JOB.EFFDT<=%CurrentDateIn) AND EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_JOB WHERE EMPLID = A.EMPLID AND EMPL_RCD = A.EMPL_RCD AND EFFDT = A.EFFDT) AND A.SETID_JOBCODE = C.SETID AND A.JOBCODE = C.JOBCODE AND %EffdtCheck(JOBCODE_TBL, C, A.EFFDT) AND C.EFF_STATUS = 'A' AND A.SETID_DEPT = B.SETID AND A.DEPTID = B.DEPTID AND %EffdtCheck(DEPT_TBL, B, A.EFFDT) AND B.EFF_STATUS = 'A' AND B.SETID = B2.SETID AND B.DEPTID = B2.DEPTID AND B.EFFDT = B2.EFFDT AND C.SETID = C2.SETID AND C.JOBCODE = C2.JOBCODE AND C.EFFDT = C2.EFFDT AND C2.LANGUAGE_CD = B2.LANGUAGE_CD

  • Related Language Record for HR_PE_EE_RCD_VW HR_SS_EE_RCD_VW
  • # 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 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 DESCR2 Character(30) VARCHAR2(30) NOT NULL Descr2