HGA_SCH_DR_4

(SQL View)
Index Back

Direct Reports Type 4

This view extracts the direct reports based on access type 4.

SELECT A4.SUPERVISOR_ID ,A4.EMPLID ,A4.EMPL_RCD ,A4.HR_SRCH_ASSOC_CD ,A4.HR_DR_LEVEL ,' ' ,A4.LASTUPDDTTM FROM PS_HR_SRCH_DR_4 A4 , PS_HR_SRCH_CONTROL C4 WHERE C4.ACCESS_TYPE='4' AND C4.PTSF_SBONAME='HC_GP_ABS_SRCH_BAL' AND A4.SUPERVISOR_ID<>A4.EMPLID UNION SELECT EMPLID ,EMPLID ,0 ,'SLF' ,0 ,' ' ,%Sql(HR_SRCH_DT_TO_DTTM,PRD_END_DT) FROM PS_HGA_BALSS_TMP

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SUPERVISOR_ID Character(11) VARCHAR2(11) NOT NULL Supervisor ID
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
3 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
4 HR_SRCH_ASSOC_CD Character(3) VARCHAR2(3) NOT NULL SES: Association Code: Used in Associated facets
DEL=Delegations
DIR=Direct Reports
EMP=Employee
IND=Indirect Reports
NON=Not Associated
SLF=Self
5 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.
6 ROWSECCLASS Character(30) VARCHAR2(30) NOT NULL The class used to determine row level security
7 LASTUPDDTTM DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.