POSN_INC_SRCH_V

(SQL View)
Index Back

SELECT SEC.OPRID,E.POSITION_NBR FROM PS_POSITION_DATA_E E , PS_DEPT_SEC_SRCH SEC WHERE SEC.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC SC WHERE SC.SETCNTRLVALUE = E.BUSINESS_UNIT AND SC.RECNAME = 'DEPT_TBL') AND E.DEPTID = SEC.DEPTID AND E.EFFDT= ( SELECT MAX(E_ED.EFFDT) FROM PS_POSITION_DATA_E E_ED WHERE E.POSITION_NBR = E_ED.POSITION_NBR ) AND E.EFFSEQ =( SELECT MAX(E_EQ.EFFSEQ) FROM PS_POSITION_DATA_E E_EQ WHERE E.POSITION_NBR = E_EQ.POSITION_NBR AND E.EFFDT=E_EQ.EFFDT )

# 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 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number