SSR_PROJ_EMPLVW

(SQL View)
Index Back

Project Emplid Prompt


SELECT A.OPRCLASS ,A.EMPLID ,d.NAME ,e.SEX ,A.BIRTHDATE ,A.BIRTHDATE_MSK ,A.CAMPUS_ID ,B.NATIONAL_ID ,B.NATIONAL_ID_MSK ,B.COUNTRY ,B.NATIONAL_ID_TYPE ,B.NID_DESCRSHORT ,d.LAST_NAME_SRCH ,d.FIRST_NAME_SRCH ,d.NAME_DISPLAY FROM PS_PERSON_MSK_VW A , PS_PERS_NID_MSK_VW B , PS_HCR_PERSON_NM_I d , PS_HCR_PER_PDE_I e , %Table(ACAD_PROG) prg WHERE A.OPRCLASS = B.OPRCLASS AND A.EMPLID = B.EMPLID AND 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) AND prg.emplid = A.emplid AND prg.effdt=( SELECT MAX(ef1.effdt) FROM %Table(ACAD_PROG) ef1 WHERE prg.emplid=ef1.emplid AND prg.acad_career=ef1.acad_career AND prg.stdnt_car_nbr=ef1.stdnt_car_nbr AND ef1.effdt<=%CurrentDateIn ) AND prg.effseq=( SELECT MAX(ef2.effseq) FROM %Table(ACAD_PROG) ef2 WHERE prg.emplid=ef2.emplid AND prg.acad_career=ef2.acad_career AND prg.stdnt_car_nbr=ef2.stdnt_car_nbr AND prg.effdt=ef2.effdt) AND prg.PROG_STATUS = 'AC'

# 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
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 BIRTHDATE_MSK Character(10) VARCHAR2(10) NOT NULL Date of Birth
7 CAMPUS_ID Character(16) VARCHAR2(16) NOT NULL Campus ID
8 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
9 NATIONAL_ID_MSK Character(20) VARCHAR2(20) NOT NULL National ID
10 NID_COUNTRY Character(3) VARCHAR2(3) NOT NULL National ID Country
11 NATIONAL_ID_TYPE Character(6) VARCHAR2(6) NOT NULL National ID Type
12 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
13 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
14 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
15 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country