POSN_DI_VW_LANG

(SQL View)
Index Back

Position VW for DI

Position language view for Directory Interface

SELECT A.EMPLID , A.EMPL_RCD , A.EFFDT , A.EFFSEQ ,B.LANGUAGE_CD ,A.POSITION_NBR ,B.DESCR ,B.DESCRSHORT FROM PS_JOB A , PS_POSN_DATA_LANG B WHERE A.JOB_INDICATOR = 'P' AND A.EFFDT = ( SELECT MAX (C.EFFDT) FROM PS_JOB C WHERE C.EMPLID = A.EMPLID AND C.EMPL_RCD = A.EMPL_RCD AND C.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_JOB D WHERE D.EMPLID = A.EMPLID AND D.EMPL_RCD = A.EMPL_RCD AND D.EFFDT = A.EFFDT) AND A.POSITION_NBR = B.POSITION_NBR

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

    Default Value: PER_ORG_ASGN.EMPLID

    Prompt Table: PERS_SRCH_GBL

    2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
    3 EFFDT Date(10) DATE NOT NULL Effective Date
    4 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
    5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    6 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number
    7 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    8 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description