TL_ADM_EERCDLNG

(SQL View)
Index Back

T&L EMPL_RCD F4 prompt view

This view is a clone of TL_ADM_SRCH_VW with EMP_RCD set as a key. Access is determined by the TL Group Security defined for the Operator's Row Security Class. When the Operator's Row Security Class has no specific Group Security, HR Department Security is used to determine access.

SELECT OPR.OPRID , OPR.ROWSECCLASS , J.EMPLID , J.EMPL_RCD , JC.LANGUAGE_CD , JC.DESCR FROM PS_JOBCODE_LANG JC , PS_JOB J , PSOPRDEFN OPR WHERE J.EFFDT = ( SELECT MAX(J1.EFFDT) FROM PS_JOB J1 WHERE J1.EMPLID = J.EMPLID AND J1.EMPL_RCD = J.EMPL_RCD AND J1.EFFDT <= %CurrentDateIn) AND J.EFFSEQ = ( SELECT MAX(J2.EFFSEQ) FROM PS_JOB J2 WHERE J2.EMPLID = J.EMPLID AND J2.EMPL_RCD = J.EMPL_RCD AND J2.EFFDT = J.EFFDT ) AND JC.SETID = J.SETID_JOBCODE AND JC.JOBCODE = J.JOBCODE AND JC.EFFDT = ( SELECT MAX(JC1.EFFDT) FROM PS_JOBCODE_TBL JC1 WHERE JC1.SETID = J.SETID_JOBCODE AND JC1.JOBCODE = J.JOBCODE AND JC1.EFFDT <= %CurrentDateIn)

  • Related Language Record for TL_ADM_EERCD_VW
  • # 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 ROWSECCLASS Character(30) VARCHAR2(30) NOT NULL The class used to determine row level security
    3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    4 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
    5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    6 JOBCODE_DESCR Character(30) VARCHAR2(30) NOT NULL Job Code Description