SSR_RS_CND_SRCH

(SQL View)
Index Back

Research Candidate Search

Research Candidate Search record

SELECT b.OPRCLASS , a.EMPLID ,a.institution ,a.acad_career , c.descrshort , d.descrshort , a.SSR_RS_CANDIT_NBR ,b.name , b.birthdate_msk ,b.sex ,b.nid_country ,b.nid_descrshort ,b.national_id ,b.national_id_msk ,b.campus_id ,b.last_name_srch ,b.first_name_srch FROM PS_SSR_RS_CAND_HDR a LEFT OUTER JOIN ps_adm_appl_prog prg ON a.emplid = prg.emplid AND a.acad_career = prg.acad_career AND a.stdnt_car_nbr = prg.stdnt_car_nbr AND a.ssr_rs_candit_nbr = prg.ssr_rs_candit_nbr , PS_PEOPLE_SRCH b , ps_acad_prog_tbl c , ps_acad_plan_tbl d WHERE a.emplid = b.emplid AND a.institution = c.institution AND a.acad_prog=c.acad_prog AND %EffdtCheck(acad_prog_tbl eff1,c,%currentdatein) AND a.institution = d.institution AND a.acad_plan=d.acad_plan AND %EffdtCheck(acad_plan_tbl eff2,d,%currentdatein) AND (prg.effdt IS NULL OR (prg.effdt = ( SELECT MAX(peff1.effdt) FROM ps_adm_appl_prog peff1 WHERE prg.emplid = peff1.emplid AND prg.acad_career = peff1.acad_career AND prg.stdnt_car_nbr = peff1.stdnt_car_nbr AND prg.adm_appl_nbr = peff1.adm_appl_nbr AND prg.appl_prog_nbr = peff1.appl_prog_nbr AND peff1.effdt <= %CurrentDateIn) AND prg.effseq = ( SELECT MAX(peff2.effseq) FROM ps_adm_appl_prog peff2 WHERE prg.emplid = peff2.emplid AND prg.acad_career = peff2.acad_career AND prg.stdnt_car_nbr = peff2.stdnt_car_nbr AND prg.adm_appl_nbr = peff2.adm_appl_nbr AND prg.appl_prog_nbr = peff2.appl_prog_nbr AND prg.effdt = peff2.effdt) AND prg.prog_status = 'AC') ) AND a.ssr_project_ind <> 'Y'

# 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 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Default Value: OPR_DEF_TBL_CS.INSTITUTION

Prompt Table: INSTITUTION_TBL

4 ACAD_CAREER Character(4) VARCHAR2(4) NOT NULL Academic Career
BAC=Bachelor (NLD)
BBL=Vocational Coaching (NLD)
BOL=Vocational Training (NLD)
BUSN=Graduate Business
CNED=Continuing Education
CRED=Semester Credit
EDU=Education (NLD)
EXED=Extended Education
GRAD=Graduate
LAW=Law
MEDS=Medical School
NONA=Non Award
PGRD=Postgraduate
RSCH=Research
TECH=Technical
UENG=Undergraduate Engineering
UGRD=Undergraduate
VAVO=Advanced General Educ. (NLD)
VETM=Veterinary Medicine
5 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
6 SSR_RS_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Academic Plan
7 SSR_RS_CANDIT_NBR Character(12) VARCHAR2(12) NOT NULL Last Candidate Number
8 NAME Character(50) VARCHAR2(50) NOT NULL Name
9 BIRTHDATE_MSK Character(10) VARCHAR2(10) NOT NULL Date of Birth
10 SEX Character(1) VARCHAR2(1) NOT NULL Gender
F=Female
M=Male
U=Unknown
X=Indeterminate/Intersex/Unspec
11 NID_COUNTRY Character(3) VARCHAR2(3) NOT NULL National ID Country
12 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
13 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
14 NATIONAL_ID_MSK Character(20) VARCHAR2(20) NOT NULL National ID
15 CAMPUS_ID Character(16) VARCHAR2(16) NOT NULL Campus ID
16 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
17 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name