POSITION_DI_VW

(SQL View)
Index Back

Position View for DI

Position View for Directory Interface

SELECT A.EMPLID , A.EMPL_RCD , A.EFFDT , A.EFFSEQ ,A.POSITION_NBR ,B.DESCR ,B.DESCRSHORT FROM PS_JOB A , PS_POS_DATA_EF_VW 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: POSN_DI_VW_LANG
  • # 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 Record
    3 EFFDT Date(10) DATE NOT NULL Effective Date
    4 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
    5 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number
    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    7 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description