RW_EMP_SRNM_FL

(SQL View)
Index Back

Employee Search -Remote Worker

Remote Worker employee Search- used for manage search configurations for Admin

SELECT DISTINCT %Sql(SCRTY_SEL_PKEY, OPR,SEC) ,NM.NAME_DISPLAY ,NM.NAME_DISPLAY_SRCH ,NM.FIRST_NAME_SRCH ,NM.LAST_NAME_SRCH ,NM.SECOND_LAST_SRCH ,NM.PREF_FIRST_NM_SRCH ,NM.NAME_DISPLAY ,NM.FIRST_NAME ,NM.LAST_NAME ,NM.SECOND_LAST_NAME ,NM.PREF_FIRST_NAME ,NM.MIDDLE_NAME ,NM.NAME_AC ,NM.NAME ,NM.PREF_MIDDLE_NAME ,NM.PREF_LAST_NAME ,NM.PREF_LAST_NM_SRCH ,NM.PREF_SEC_LAST_NAME ,NM.PREF_LAST_SEC_SRCH ,NM.NAME_FORMAL ,NM.NAME_FORMAL_SRCH ,NM.NAME_FORMAL_PSF ,J.BUSINESS_UNIT ,J.DEPTID ,J.LOCATION ,J.JOBCODE ,J.POSITION_NBR ,PORG.BUSN_TITLE_SRCH ,J.COMPANY ,J.PAYGROUP ,J.REG_REGION ,J.HR_STATUS ,J.EMPL_STATUS ,J.REPORTS_TO ,J.SUPERVISOR_ID ,J.PER_ORG ,J.POI_TYPE ,J.REG_TEMP ,J.FULL_PART_TIME ,J.EMPL_TYPE ,PORG.BUSINESS_TITLE ,SEC.MILITARY_SERVICE ,SEC.MIL_RANK ,SEC.MIL_WORN_RANK ,SEC.INSTITUTION ,SEC.NATIONAL_ID ,SEC.APPT_TYPE ,SEC.OTHER_ID_JPN ,J.SETID_DEPT ,J.SETID_LOCATION ,J.SETID_JOBCODE ,SEC.FUTURE_FLG ,( SELECT JOBEL.HR_RW_JOB_ELIGIBLE FROM PS_HR_RW_JOB_EL_VW JOBEL WHERE JOBEL.SETID_JOBCODE=J.SETID_JOBCODE AND JOBEL.JOBCODE=J.JOBCODE AND JOBEL.EFFDT=( SELECT MAX(EFFDT) FROM PS_HR_RW_JOB_EL_VW B WHERE B.SETID_JOBCODE=JOBEL.SETID_JOBCODE AND B.JOBCODE=JOBEL.JOBCODE AND B.EFFDT<=%CurrentDateIn )) ,CASE WHEN J.POSITION_NBR=' ' THEN 'N' ELSE ( SELECT JOBSR.HR_RW_POS_ELIGIBLE FROM PS_HR_RW_POS_EL_VW JOBSR WHERE JOBSR.POSITION_NBR=J.POSITION_NBR AND JOBSR.EFFDT=( SELECT MAX(EFFDT) FROM PS_HR_RW_POS_EL_VW B WHERE B.POSITION_NBR=JOBSR.POSITION_NBR AND B.EFFDT<=%CurrentDateIn) ) END FROM %Sql(SCRTY_PER_NM_FROM) , PS_JOB J , PS_PER_ORG_ASGN PORG WHERE SEC.APPT_TYPE IN ('0', '3') AND %Sql(SCRTY_NAME) AND %Sql(SCRTY_WHERE, 'PPLJOB') AND J.EMPLID = SEC.EMPLID AND J.EMPL_RCD=SEC.EMPL_RCD AND J.HR_STATUS = 'A' AND J.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_JOB A_ED WHERE J.EMPLID = A_ED.EMPLID AND J.EMPL_RCD = A_ED.EMPL_RCD AND (( A_ED.EFFDT <= %CurrentDateIn) OR (A_ED.EFFDT > %CurrentDateIn AND %CurrentDateIn < ( SELECT MIN(J2.EFFDT) FROM PS_JOB J2 WHERE J2.EMPLID = J.EMPLID AND J2.EMPL_RCD = J.EMPL_RCD) ) )) AND J.EFFSEQ = ( SELECT MAX(A_ES.EFFSEQ) FROM PS_JOB A_ES WHERE J.EMPLID = A_ES.EMPLID AND J.EMPL_RCD = A_ES.EMPL_RCD AND J.EFFDT = A_ES.EFFDT) AND J.EMPLID=PORG.EMPLID AND J.EMPL_RCD=PORG.EMPL_RCD

  • Related Language Record: EMPL_SRNM_LNG
  • # 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 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
    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 PREF_FIRST_NM_SRCH Character(30) VARCHAR2(30) NOT NULL Preferred First Name
    11 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
    12 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
    13 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
    14 SECOND_LAST_NAME Character(30) VARCHAR2(30) NOT NULL Second Last Name
    15 PREF_FIRST_NAME Character(30) VARCHAR2(30) NOT NULL Preferred First Name
    16 MIDDLE_NAME Character(30) VARCHAR2(30) NOT NULL MIDDLE_NAME
    17 NAME_AC Character(50) VARCHAR2(50) NOT NULL Alternate Character Name
    18 NAME_PSFORMAT Character(50) VARCHAR2(50) NOT NULL A Person's name in the Peoplesoft Format (basically LN,FN MI
    19 PREF_MIDDLE_NAME Character(30) VARCHAR2(30) NOT NULL Preferred Middle Name
    20 PREF_LAST_NAME Character(30) VARCHAR2(30) NOT NULL Preferred Last Name
    21 PREF_LAST_NM_SRCH Character(30) VARCHAR2(30) NOT NULL Uppercase version of preferred last name to improve performance on searches.
    22 PREF_SEC_LAST_NAME Character(30) VARCHAR2(30) NOT NULL Preferred Second Last Name
    23 PREF_LAST_SEC_SRCH Character(30) VARCHAR2(30) NOT NULL Uppercase version of preferred second last name to improve performance on searches.
    24 NAME_FORMAL Character(60) VARCHAR2(60) NOT NULL Formal Name - name formatted for Formal Display by COuntry. Normally used in Correspondence.
    25 NAME_FORMAL_SRCH Character(60) VARCHAR2(60) NOT NULL Uppercase version of formal name to improve performance on searches.
    26 NAME_FORMAL_PSF Character(60) VARCHAR2(60) NOT NULL Preferred Name (PS FORMAT)
    27 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Prompt Table: BUSUNIT_HR_VW

    28 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

    Prompt Table: PERS_DEPT_VW

    29 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code

    Prompt Table: LOCATION_JOB_VW

    30 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code

    Prompt Table: JOBCODE_TBL

    31 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number

    Prompt Table: POSN_DATA_VW

    32 BUSN_TITLE_SRCH Character(30) VARCHAR2(30) NOT NULL Business Title
    33 COMPANY Character(3) VARCHAR2(3) NOT NULL Company

    Prompt Table: COMPANY_TBL

    34 PAYGROUP Character(3) VARCHAR2(3) NOT NULL Pay Group

    Prompt Table: PAYGROUP_TBL

    35 REG_REGION Character(5) VARCHAR2(5) NOT NULL Regulatory Region

    Prompt Table: REG_STANDARD_VW

    36 HR_STATUS Character(1) VARCHAR2(1) NOT NULL HR Status
    A=Active
    I=Inactive
    37 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
    38 REPORTS_TO Character(8) VARCHAR2(8) NOT NULL Reports To Position Number

    Prompt Table: POSITION_DATA

    39 SUPERVISOR_ID Character(11) VARCHAR2(11) NOT NULL Supervisor ID

    Prompt Table: HCR_SUP_ID_DVW

    40 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
    41 POI_TYPE Character(5) VARCHAR2(5) NOT NULL Defines the Transactional usage of POIs in HRMS.

    Prompt Table: POI_TYPE_TBL

    42 REG_TEMP Character(1) VARCHAR2(1) NOT NULL Regular/Temporary
    R=Regular
    T=Temporary
    43 FULL_PART_TIME Character(1) VARCHAR2(1) NOT NULL Full/Part Time
    D=On Demand
    F=Full-Time
    P=Part-Time
    44 EMPL_TYPE Character(1) VARCHAR2(1) NOT NULL Employee Type
    E=Exception Hourly
    H=Hourly
    N=Not Applicable
    S=Salaried
    45 BUSINESS_TITLE Character(30) VARCHAR2(30) NOT NULL Business Title
    46 MILITARY_SERVICE Character(8) VARCHAR2(8) NOT NULL Military Service

    Prompt Table: MIL_SERVICE_TBL

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

    Prompt Table: MIL_RANK_TBL

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

    Prompt Table: MIL_RANK_TBL

    49 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
    50 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
    51 APPT_TYPE Character(1) VARCHAR2(1) NOT NULL This field tracks whether a row is a Main Appointment (which all rows outside Japan are), or an Additional Appointment, which is a feature only used by Japanese customers.
    0=Core Appointment
    1=Japan Kenmu Appointment
    2=French Public Sector Appt
    3=Staffing
    52 OTHER_ID_JPN Character(11) VARCHAR2(11) NOT NULL Other Identifier
    53 SETID_DEPT Character(5) VARCHAR2(5) NOT NULL Department Set ID

    Prompt Table: SETID_TBL

    54 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location Set ID
    55 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID
    56 FUTURE_FLG Character(1) VARCHAR2(1) NOT NULL Flag for the SJT_*** record that indicates whether this is a future dated row or not. Y = Future N = Current
    57 HR_RW_JOB_ELIGIBLE Character(1) VARCHAR2(1) NOT NULL Job Code Available for RemoteWork
    N=No
    Y=Yes
    58 HR_RW_POS_ELIGIBLE Character(1) VARCHAR2(1) NOT NULL Position Available for Remote Work
    N=No
    Y=Yes

    Y/N Table Edit

    Default Value: N