GP_SS_EE_RCD1LV

(SQL View)
Index Back

Lang view of GP SS EE RCD1VW

List of EEs currently associated with Global Payroll (i.e. GP_PAYGROUP has value on JOB table)

SELECT DISTINCT O.OPRID , A.EMPLID , A.EMPL_RCD , B2.LANGUAGE_CD , 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 , PSOPRDEFN O 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, %CurrentDateIn) AND A.SETID_DEPT = B.SETID AND A.DEPTID = B.DEPTID AND %EffdtCheck(DEPT_TBL, B, %CurrentDateIn) 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 AND A.EMPLID = O.EMPLID

  • Related Language Record for GP_SS_EE_RCD1VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    3 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 JOBTITLE Character(30) VARCHAR2(30) NOT NULL Job Title