RGN_APPL_RCR_VW

(SQL View)
Index Back

Regional Applicnt Recruiter Vw


SELECT C.INSTITUTION ,C.ACAD_CAREER ,B.REGION ,C.RECRUITER_ID ,D.NAME ,A.RECRUITER_TYPE FROM PS_RECRUITERS A ,PS_RECRUITR_REGION C ,PS_REGN_BASE_RG_VW B ,PS_SCC_PRI_NAME_VW D WHERE C.INCLUDE_EXCLUDE='I' AND C. ASSIGNMENT_STAGE <> 'P' AND C.INSTITUTION = A.INSTITUTION AND C.ACAD_CAREER = A.ACAD_CAREER AND C.RECRUITER_ID = A.RECRUITER_ID AND C.EFFDT=A.EFFDT AND D.EMPLID = C.RECRUITER_ID AND B.SETID = C.SETID_REGION AND B.TREE_NODE_NUM BETWEEN C.TREE_NODE_NUM AND C.TREE_NODE_NUM_END AND NOT EXISTS ( SELECT 'X' FROM PS_RECRUITR_REGION G WHERE C.INSTITUTION=G.INSTITUTION AND C.ACAD_CAREER = G.ACAD_CAREER AND C.RECRUITER_ID = G.RECRUITER_ID AND C.EFFDT = G.EFFDT AND C.TREE_NODE_NUM<>G.TREE_NODE_NUM AND B.TREE_NODE_NUM BETWEEN G.TREE_NODE_NUM AND G.TREE_NODE_NUM_END AND G.TREE_NODE_NUM BETWEEN C.TREE_NODE_NUM AND C.TREE_NODE_NUM_END) AND A.EFFDT = ( SELECT MAX(H.EFFDT) FROM PS_RECRUITERS H WHERE A.INSTITUTION = H.INSTITUTION AND A.ACAD_CAREER = H.ACAD_CAREER AND A.RECRUITER_ID = H.RECRUITER_ID AND A.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Prompt Table: INSTITUTION_TBL

2 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

Prompt Table: ACAD_CAR_TBL

3 REGION Character(10) VARCHAR2(10) NOT NULL Region

Prompt Table: REGION_TBL

4 RECRUITER_ID Character(11) VARCHAR2(11) NOT NULL Recruiter ID

Prompt Table: RECRUITERS

5 NAME Character(50) VARCHAR2(50) NOT NULL Name
6 RECRUITER_TYPE Character(4) VARCHAR2(4) NOT NULL Recruiter Type
ALUM=Alumni
FAC=Faculty
STDN=Student
STFF=Staff