HRS_POSN_VCNT_I

(SQL View)
Index Back

Vacant Budgeted Posns by Dept

POSN_VACANT is a view which retrieves a list of all currently vacant, active, budgeted positions by department.

SELECT D.SETID ,A.DEPTID ,A.POSITION_NBR ,A.DESCR ,A.POSN_STATUS ,A.STATUS_DT ,A.BUSINESS_UNIT ,A.JOBCODE ,A.COMPANY ,A.LOCATION ,A.FULL_PART_TIME ,A.REG_TEMP ,A.CONFIDENTIAL_POSN ,A.REPORTS_TO ,A.MAX_HEAD_COUNT FROM PS_HRS_POSN_DTA_I3 A , PS_HRS_DEPT_I D WHERE D.SETID=( SELECT Z.SETID FROM PS_SET_CNTRL_REC Z WHERE Z.SETCNTRLVALUE=A.BUSINESS_UNIT AND Z.RECNAME='DEPT_TBL') AND D.DEPTID=A.DEPTID AND D.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_HRS_DEPT_I E WHERE E.DEPTID = D.DEPTID AND E.SETID=D.SETID AND E.EFFDT<=%CurrentDateIn) AND A.EFF_STATUS = 'A' AND A.BUDGETED_POSN = 'Y' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_HRS_POSN_DTA_I3 B WHERE A.POSITION_NBR = B.POSITION_NBR AND B.EFFDT <= %CurrentDateIn) AND A.MAX_HEAD_COUNT > ( SELECT COUNT(*) FROM PS_HRS_POSN_INCB_I C WHERE A.POSITION_NBR = C.POSITION_NBR)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
3 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number
4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
5 POSN_STATUS Character(1) VARCHAR2(1) NOT NULL Position Status
A=Approved
P=Proposed
R=Frozen
6 STATUS_DT Date(10) DATE Status Date
7 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
8 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
9 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
10 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
11 FULL_PART_TIME Character(1) VARCHAR2(1) NOT NULL Full/Part Time
D=On Demand
F=Full-Time
P=Part-Time
12 REG_TEMP Character(1) VARCHAR2(1) NOT NULL Regular/Temporary
R=Regular
T=Temporary
13 CONFIDENTIAL_POSN Character(1) VARCHAR2(1) NOT NULL Confidential Position
14 REPORTS_TO Character(8) VARCHAR2(8) NOT NULL Reports To Position Number
15 MAX_HEAD_COUNT Number(4,0) SMALLINT NOT NULL Max Head Count