TR_ADD_BRA_VW

(SQL View)
Index Back

Search Trainee

Search Trainee

SELECT DISTINCT A.EMPLID ,A.EMPL_RCD ,SEC.NAME ,SEC.NAME_DISPLAY_SRCH ,SEC.LAST_NAME_SRCH ,SEC.SECOND_LAST_SRCH ,SEC.FIRST_NAME ,SEC.LAST_NAME ,SEC.NAME_AC FROM PS_PER_ORG_ASGN A , PS_JOB B , PS_PERS_SRCH_GBL SEC WHERE A.EMPLID = SEC.EMPLID AND A.EMPLID = B.EMPLID AND B.EMPL_CLASS = '199' AND B.HR_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_JOB C WHERE C.EMPLID = B.EMPLID AND C.HR_STATUS = 'A' ) AND B.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_JOB D WHERE D.EMPLID = B.EMPLID AND D.HR_STATUS = 'A' AND D.EFFDT = B.EFFDT) AND NOT EXISTS( SELECT 'X' FROM PS_TR_CONTRAC_BRA CTR WHERE CTR.EMPLID = B.EMPLID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: TR_ADD_SRC_BRA

2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
3 NAME Character(50) VARCHAR2(50) NOT NULL Name
4 NAME_DISPLAY_SRCH Character(50) VARCHAR2(50) NOT NULL Uppercase version of Name to improve performance on searches.
5 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
6 SECOND_LAST_SRCH Character(30) VARCHAR2(30) NOT NULL Second Name
7 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
8 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
9 NAME_AC Character(50) VARCHAR2(50) NOT NULL Alternate Character Name