GP_PG_PERS_SRCH

(SQL View)
Index Back

Search EE Core Data - GP

This is a GP centric version of PERS_SRCH_GBL that narrows selection down to payees ever associated with a certain GP Paygroup. The view shows records only for employees in departments that the users' operator class is allowed to access.

SELECT PG.GP_PAYGROUP , %Sql(SCRTY_SEL_PKEY,SEC,SEC) , %Sql(SCRTY_SEL_NMSBR,SEC,SEC) , SEC.COMPANY , SEC.SETID_JOBCODE , SEC.JOBCODE , %Sql(SCRTY_SEL_MILSBR,SEC,SEC) FROM PS_GP_EMPLMT_SRCH SEC , PS_GP_PYGRP PG WHERE EXISTS ( SELECT 1 FROM PS_JOB JOB WHERE JOB.GP_PAYGROUP=PG.GP_PAYGROUP AND JOB.EMPLID=SEC.EMPLID AND JOB.EMPL_RCD=SEC.EMPL_RCD)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 GP_PAYGROUP Character(10) VARCHAR2(10) NOT NULL Global Payroll pay group
2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
3 ROWSECCLASS Character(30) VARCHAR2(30) NOT NULL The class used to determine row level security
4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
5 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
6 NAME Character(50) VARCHAR2(50) NOT NULL Name
7 NAME_DISPLAY_SRCH Character(50) VARCHAR2(50) NOT NULL Uppercase version of Name to improve performance on searches.
8 NAME_PSFORMAT Character(50) VARCHAR2(50) NOT NULL A Person's name in the Peoplesoft Format (basically LN,FN MI
9 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
10 SECOND_LAST_SRCH Character(30) VARCHAR2(30) NOT NULL Second Last Name
11 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
12 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
13 SECOND_LAST_NAME Character(30) VARCHAR2(30) NOT NULL Second Last Name
14 NAME_AC Character(50) VARCHAR2(50) NOT NULL Alternate Character Name
15 MIDDLE_NAME Character(30) VARCHAR2(30) NOT NULL MIDDLE_NAME
16 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
17 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
18 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID
19 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
20 MILITARY_SERVICE Character(8) VARCHAR2(8) NOT NULL Military Service

Prompt Table: MIL_SERVICE_TBL

21 MIL_RANK Character(5) VARCHAR2(5) NOT NULL Military Rank

Prompt Table: MIL_RANK_TBL

22 MIL_WORN_RANK Character(5) VARCHAR2(5) NOT NULL Worn Rank

Prompt Table: MIL_RANK_TBL