HR_DR_VW_5L

(SQL View)
Index Back

Non-Base Lng - HR_DR_VW_5

Non-Base Language view for HR_DR_VW_5.

SELECT A.SUPERVISOR_ID , A.SUPERVIS_EMPL_RCD , A.EMPLID , A.EMPL_RCD , C.LANGUAGE_CD , A.EMPL_STATUS , A.POSITION_NBR , A.REPORTS_TO , A.JOB_EFFDT , A.HR_DR_LEVEL , A.SUPERVISOR_FLAG , A.DRILL_DOWN_FLAG , B.HR_STATUS , B.PER_ORG , B.FULL_PART_TIME , B.SETID_DEPT , B.DEPTID , B.SETID_LOCATION , B.LOCATION , B.SETID_JOBCODE , B.JOBCODE , C.NAME , C.NAME_DISPLAY , C.LAST_NAME_SRCH , C.NAME_AC , C.LAST_NAME , C.FIRST_NAME FROM PS_HR_DIRECT_REP_5 A , PS_JOB B , PS_PERSON_NAME_LVW C WHERE A.EMPLID = B.EMPLID AND A.EMPL_RCD = B.EMPL_RCD AND A.EMPLID = C.EMPLID AND A.JOB_EFFDT = B.EFFDT AND B.EFFSEQ = ( SELECT MAX(JB2.EFFSEQ) FROM PS_JOB JB2 WHERE JB2.EMPLID = B.EMPLID AND JB2.EFFDT = B.EFFDT AND JB2.EMPL_RCD = B.EMPL_RCD)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SUPERVISOR_ID Character(11) VARCHAR2(11) NOT NULL Supervisor ID
2 SUPERVISOR_ERN Number(3,0) SMALLINT NOT NULL This is used to hold the Employment Record Number of a supervisor.
3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
4 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
6 EMPL_STATUS Character(1) VARCHAR2(1) NOT NULL Payroll Status
A=Active
D=Deceased
L=Leave of Absence
P=Leave With Pay
Q=Retired With Pay
R=Retired
S=Suspended
T=Terminated
U=Terminated With Pay
V=Terminated Pension Pay Out
W=Short Work Break
X=Retired-Pension Administration
7 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number
8 REPORTS_TO Character(8) VARCHAR2(8) NOT NULL Reports To Position Number
9 JOB_EFFDT Date(10) DATE Job Effective Date
10 TREE_LEVEL_NUM Number(3,0) SMALLINT NOT NULL Parent tree level if this is a part of the PSTREEBRANCH record
11 HR_DRPT_INDIRECT Character(1) VARCHAR2(1) NOT NULL This Y/N flag is used in the Direct Reports module to indicate whether a given employee/job has indirect reports.

Y/N Table Edit

Default Value: N

12 DRILL_DOWN_FLAG Character(1) VARCHAR2(1) NOT NULL Y/N field to determine if the row will appear in the dynamic drill down query. These rows appear in the getsupervisor query.
13 HR_STATUS Character(1) VARCHAR2(1) NOT NULL HR Status
A=Active
I=Inactive
14 PER_ORG Character(3) VARCHAR2(3) NOT NULL Defines the Organizational Relationship(s) that a Person has to the Organization. These are Employee, Contingent Worker, and Persons of Interest.
CWR=Contingent Worker
EMP=Employee
POI=Person of Interest
15 FULL_PART_TIME Character(1) VARCHAR2(1) NOT NULL Full/Part Time
D=On Demand
F=Full-Time
P=Part-Time
16 SETID_DEPT Character(5) VARCHAR2(5) NOT NULL Department Set ID
17 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
18 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location Set ID
19 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
20 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID
21 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
22 NAME Character(50) VARCHAR2(50) NOT NULL Name
23 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
24 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
25 NAME_AC Character(50) VARCHAR2(50) NOT NULL Alternate Character Name
26 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
27 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name