REPORTS_TO_WS

(SQL View)
Index Back

Reports To Posn Work Scroll

REPORTS_TO_WS is a view which retrieves the current subordinates reporting to a position by POSITION_NBR.

SELECT A.POSITION_NBR ,A.REPORTS_TO FROM PS_POSITION_DATA A WHERE A.EFF_STATUS = 'A' AND A.REPORTS_TO <> ' ' AND A.EFFDT = (SELECT MAX(B.EFFDT) FROM PS_POSITION_DATA B WHERE B.POSITION_NBR = A.POSITION_NBR AND B.EFFDT <= %CURRENTDATEIN)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number
2 REPORTS_TO Character(8) VARCHAR2(8) NOT NULL Reports To Position Number