HRS_ACT_PRS_LN3

(SQL View)
Index Back

Related Language Record

Related Language Record for HRS_ACT_PRS_VW3

SELECT A.EMPLID ,A.LANGUAGE_CD ,A.FIRST_NAME ,A.LAST_NAME ,A.NAME_DISPLAY FROM PS_NAMES_LNG A WHERE A.NAME_TYPE = 'PRI' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_NAMES_LNG B WHERE B.EMPLID = A.EMPLID AND B.NAME_TYPE = A.NAME_TYPE AND B.LANGUAGE_CD = A.LANGUAGE_CD AND B.EFFDT <= %CurrentDateIn ) AND EXISTS ( SELECT 'X' FROM PS_JOB B WHERE B.EMPLID = A.EMPLID AND B.EFFDT = ( SELECT MAX (C.EFFDT) FROM PS_JOB C WHERE C.EMPLID = B.EMPLID AND C.EMPL_RCD = B.EMPL_RCD AND C.EFFDT <= %CurrentDateIn) AND B.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_JOB D WHERE D.EMPLID = B.EMPLID AND D.EMPL_RCD = B.EMPL_RCD AND D.EFFDT = B.EFFDT) AND B.HR_STATUS = 'A') UNION SELECT E.EMPLID ,E.LANGUAGE_CD ,E.FIRST_NAME ,E.LAST_NAME ,E.NAME_DISPLAY FROM PS_NAMES_LNG E WHERE E.NAME_TYPE = 'PRI' AND E.EFFDT = ( SELECT MAX(F.EFFDT) FROM PS_NAMES_LNG F WHERE F.EMPLID = E.EMPLID AND F.NAME_TYPE = E.NAME_TYPE AND F.LANGUAGE_CD = E.LANGUAGE_CD AND F.EFFDT <= %CurrentDateIn ) AND EXISTS ( SELECT 'X' FROM PS_PER_POI_TRANS G WHERE G.EMPLID = E.EMPLID AND G.EFF_STATUS = 'A' AND G.EFFDT = ( SELECT MAX(H.EFFDT) FROM PS_PER_POI_TRANS H WHERE H.EMPLID = G.EMPLID AND H.EFFDT <= %CurrentDateIn))

  • Related Language Record for HRS_ACT_PRS_VW3
  • Parent record: PERSON
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Prompt Table: PERSON

    2 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    3 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
    4 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
    5 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country