GP_EMPLMT_SRCH(SQL View) |
Index Back |
---|---|
Employee Search Global-GPThis view is based on EMPLMT_SRCH_GBL. A new view had to be created to get Jobcode information that needs to be displayed. |
SELECT %Sql(SCRTY_SEL_PKEY,SEC,SEC) , %Sql(SCRTY_SEL_NMSBR,SEC,SEC) , SEC.SETID_JOBCODE , SEC.JOBCODE , JC.DESCR , SEC.GP_PAYGROUP , SEC.BUSINESS_UNIT , SEC.SETID_DEPT , SEC.DEPTID , SEC.COMPANY , SEC.PER_ORG ,%Sql(SCRTY_SEL_MILSBR,SEC,SEC) FROM PS_EMPLMT_SRCH_GBL SEC , PS_JOBCODE_TBL JC WHERE JC.JOBCODE=SEC.JOBCODE AND JC.SETID = SEC.SETID_JOBCODE AND JC.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_JOBCODE_TBL B WHERE B.SETID= JC.SETID AND B.JOBCODE = JC.JOBCODE AND ( B.EFFDT <= %CurrentDateIn OR (B.EFFDT > %CurrentDateIn AND %CurrentDateIn < ( SELECT MIN(C.EFFDT) FROM PS_JOBCODE_TBL C WHERE C.SETID = B.SETID AND C.JOBCODE = B.JOBCODE) ) )) |
# | 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 | NAME_PSFORMAT | Character(50) | VARCHAR2(50) NOT NULL | A Person's name in the Peoplesoft Format (basically LN,FN MI |
8 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
9 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
10 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
11 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
12 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
13 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |
14 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
15 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
16 | SETID_JOBCODE | Character(5) | VARCHAR2(5) NOT NULL | Job Code Set ID |
17 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL |
Job Code
Prompt Table: JOBCODE_TBL |
18 | JOBCODE_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Job Code Description |
19 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL | Global Payroll pay group |
20 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
21 | SETID_DEPT | Character(5) | VARCHAR2(5) NOT NULL | Department Set ID |
22 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
23 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
24 | 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 |
25 | MILITARY_SERVICE | Character(8) | VARCHAR2(8) NOT NULL |
Military Service
Prompt Table: MIL_SERVICE_TBL |
26 | MIL_RANK | Character(5) | VARCHAR2(5) NOT NULL |
Military Rank
Prompt Table: MIL_RANK_TBL |
27 | MIL_WORN_RANK | Character(5) | VARCHAR2(5) NOT NULL |
Worn Rank
Prompt Table: MIL_RANK_TBL |