HR_SP_CAND_SRCH

(SQL View)
Index Back

Search - All Pers w/ an ERN

PERS_SRCH_GBL is used as a search view to select person records for you to use when you access a panel. This view shows you records only for persons in departments that your operator class is allowed to access. All PER_ORG Types are returned.

SELECT a.OPRID ,a.ROWSECCLASS ,a.EMPLID ,a.EMPL_RCD ,a.NAME ,a.NAME_DISPLAY_SRCH ,a.LAST_NAME_SRCH ,a.SECOND_LAST_SRCH ,a.FIRST_NAME ,a.LAST_NAME ,a.SECOND_LAST_NAME ,a.NAME_AC ,a.JOBCODE ,a.DEPTID FROM PS_PERS_SRCH_GBL a ,PS_JOB_CURR_VW b WHERE a.EMPLID = b.EMPLID AND a.EMPL_RCD = b.EMPL_RCD AND b.EMPL_RCD = ( SELECT MIN(b2.EMPL_RCD) FROM PS_JOB_CURR_VW b2 WHERE b2.EMPLID = b.EMPLID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 ROWSECCLASS Character(30) VARCHAR2(30) NOT NULL The class used to determine row level security
3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
4 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
5 NAME Character(50) VARCHAR2(50) NOT NULL Name
6 NAME_DISPLAY_SRCH Character(50) VARCHAR2(50) NOT NULL Uppercase version of Name to improve performance on searches.
7 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
8 SECOND_LAST_SRCH Character(30) VARCHAR2(30) NOT NULL Second Last Name
9 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
10 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
11 SECOND_LAST_NAME Character(30) VARCHAR2(30) NOT NULL Second Last Name
12 NAME_AC Character(50) VARCHAR2(50) NOT NULL Alternate Character Name
13 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
14 DEPTID Character(10) VARCHAR2(10) NOT NULL Department