HGA_PGMGR_SEC_V

(SQL View)
Index Back

Empl Security Record

Empl Security Record based on Direct Line Reports records used in MSS pivot grids.

SELECT DR.EMPLID , DR.EMPL_RCD , DR.JOB_EFFDT , DR.SUPERVISOR_ID , DR.ACCESS_TYPE , DR.HR_DR_LEVEL , DR.REPORTSTO_TYPE , DR.OPRID , 0 FROM PS_HGA_MGR_SEC_VW DR UNION ALL SELECT PND.EMPLID , PND.EMPL_RCD , %CurrentDateIn , PND.SUPERVISOR_ID , 'P' , 1 , PND.REPORTSTO_TYPE , PND.OPRID , PND.TRANSACTION_NBR FROM PS_HGA_MGR_PND_VW PND

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
3 JOB_EFFDT Date(10) DATE Job Effective Date
4 SUPERVISOR_ID Character(11) VARCHAR2(11) NOT NULL Supervisor ID
5 ACCESS_TYPE Character(1) VARCHAR2(1) NOT NULL Access Type
1=By Dept Security Tree
2=By Supervisor ID
3=By Department Manager ID
4=By Reports To Position
5=By Part Posn Mgmt Supervisor
6=By Part Posn Mgmt Dept Mgr ID
7=By Group ID
6 HR_DR_LEVEL Number(3,0) SMALLINT NOT NULL Number denoting how many levels down the organizational chart the employee is from the supervisor. Direct reports are always level 1.
7 REPORTSTO_TYPE Character(1) VARCHAR2(1) NOT NULL Reports to type: D - Direct I - Indirect C - Delegated P - Other (Pending Approval)
A=All
C=Delegated
D=Direct
I=Indirect
P=Other
8 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
9 TRANSACTION_NBR Number(15,0) DECIMAL(15) NOT NULL 08/02/99 NAS: Changed the size of this field from 10 to 15. Based on Jim Hillman's decision to make the field at a standard size.