SSR_BR_IDW_SRCH

(SQL View)
Index Back

BROn Workcenter Search View


SELECT A.OPRCLASS ,A.EMPLID ,d.NAME ,e.SEX ,A.BIRTHDATE ,A.CAMPUS_ID , ( SELECT %Substring(PERS_NID1.NATIONAL_ID, 1, 9) FROM PS_PERS_NID PERS_NID1 WHERE PERS_NID1.COUNTRY = 'NLD' AND PERS_NID1.EMPLID = A.EMPLID AND PERS_NID1.NATIONAL_ID_TYPE = ( SELECT A.SSR_BR_NID_TYP_NLD FROM PS_SSR_BR_BO_SETUP A)) , ( SELECT %Substring(PERS_NID.NATIONAL_ID, 1, 9) FROM PS_PERS_NID PERS_NID WHERE PERS_NID.EMPLID = A.EMPLID AND PERS_NID.COUNTRY = 'NLD' AND PERS_NID.NATIONAL_ID_TYPE = ( SELECT A.SSR_BR_EDU_NBR_TYP FROM PS_SSR_BR_BO_SETUP A)) ,d.LAST_NAME_SRCH ,d.FIRST_NAME_SRCH ,d.NAME_DISPLAY FROM PS_PERSON_MSK_VW A , PS_HCR_PERSON_NM_I d , PS_HCR_PER_PDE_I e WHERE A.EMPLID = d.EMPLID AND A.EMPLID = e.EMPLID AND e.EFFDT = ( SELECT MAX(e1.EFFDT) FROM PS_HCR_PER_PDE_I e1 WHERE e1.EMPLID=e.EMPLID AND e1.EFFDT<=%CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRCLASS Character(30) VARCHAR2(30) NOT NULL Operator Class
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PEOPLE_SRCH

3 NAME Character(50) VARCHAR2(50) NOT NULL Name
4 SEX Character(1) VARCHAR2(1) NOT NULL Gender
F=Female
M=Male
U=Unknown
X=Indeterminate/Intersex/Unspec
5 BIRTHDATE Date(10) DATE Date of Birth
6 CAMPUS_ID Character(16) VARCHAR2(16) NOT NULL Campus ID
7 SAD_SL_SOFI_NBR Character(9) VARCHAR2(9) NOT NULL Social Fiscal Number
8 SSR_BR_NAT_ID_NLD Character(20) VARCHAR2(20) NOT NULL Educational Number
9 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
10 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
11 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country