GP_SS_NPD_JOBVW

(SQL View)
Index Back

Global Payroll Jobs View

Global Payroll Self Service. This view provides an Employees Job Titles and Supervisors.

SELECT DISTINCT A.EMPLID , A.EMPL_RCD , B.DESCR , C.DESCR , A.SUPERVISOR_ID , A.GP_PAYGROUP FROM PS_JOB A , PS_DEPT_TBL B , PS_JOBCODE_TBL C 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 A.ACTION <> 'TER'

  • Related Language Record: GP_SSNPDJBVWLNG
  • # 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 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    4 DESCR2 Character(30) VARCHAR2(30) NOT NULL Descr2
    5 SUPERVISOR_ID Character(11) VARCHAR2(11) NOT NULL Supervisor ID
    6 GP_PAYGROUP Character(10) VARCHAR2(10) NOT NULL Global Payroll pay group