HR_DR_SRCHLVW_3

(SQL View)
Index Back

Non-Base Lng - HR_DR_SRCHLVW_3

Non-Base Language view for HR_DR_SRCHLVW_3.

SELECT DISTINCT J.EMPLID , J.EMPL_RCD , N.LANGUAGE_CD , J.EMPL_STATUS , J.HR_STATUS , J.PER_ORG , J.FULL_PART_TIME , J.SETID_DEPT , J.DEPTID , J.SETID_LOCATION , J.LOCATION , J.SETID_JOBCODE , J.JOBCODE , J.POSITION_NBR , J.POSITION_OVERRIDE , JT.SUPERVISOR_ID , JT.SUPERVISOR_FLAG , JT.HR_DR_LEVEL , N.NAME , N.NAME_DISPLAY , N.LAST_NAME_SRCH , N.NAME_AC , N.LAST_NAME , N.FIRST_NAME , JC.DESCR , E.EMAIL_ADDR , N.NAME_DISPLAY_SRCH FROM PS_JOB J , PS_HR_DIRECT_REP_3 JT LEFT OUTER JOIN PS_PERSON_EMAIL E ON JT.EMPLID = E.EMPLID , PS_PERSON_NAME_LVW N , PS_JOBCODE_VW_L JC WHERE JT.EMPLID = N.EMPLID AND J.HR_STATUS = 'A' AND J.EFFSEQ = ( SELECT MAX(JES.EFFSEQ) FROM PS_JOB JES WHERE JES.EMPLID = J.EMPLID AND JES.EMPL_RCD = J.EMPL_RCD AND JES.EFFDT = J.EFFDT) AND JT.EMPLID = J.EMPLID AND JT.EMPL_RCD = J.EMPL_RCD AND JT.JOB_EFFDT = J.EFFDT AND JT.DRILL_DOWN_FLAG = 'Y' AND J.SETID_JOBCODE = JC.SETID AND J.JOBCODE = JC.JOBCODE

# 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 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
4 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
5 HR_STATUS Character(1) VARCHAR2(1) NOT NULL HR Status
A=Active
I=Inactive
6 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
7 FULL_PART_TIME Character(1) VARCHAR2(1) NOT NULL Full/Part Time
D=On Demand
F=Full-Time
P=Part-Time
8 SETID_DEPT Character(5) VARCHAR2(5) NOT NULL Department Set ID
9 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
10 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location Set ID
11 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
12 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID
13 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
14 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number
15 POSITION_OVERRIDE Character(1) VARCHAR2(1) NOT NULL Override Position Data
16 SUPERVISOR_ID Character(11) VARCHAR2(11) NOT NULL Supervisor ID
17 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.
18 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.
19 NAME Character(50) VARCHAR2(50) NOT NULL Name
20 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
21 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
22 NAME_AC Character(50) VARCHAR2(50) NOT NULL Alternate Character Name
23 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
24 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
25 JOBCODE_DESCR Character(30) VARCHAR2(30) NOT NULL Job Code Description
26 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email Address
27 NAME_DISPLAY_SRCH Character(50) VARCHAR2(50) NOT NULL Uppercase version of Name to improve performance on searches.