SAD_PB_APGSCYVW

(SQL View)
Index Back

Student Admission Acad Program

This Admission Application Academic Program view is used to determine if one exists for a given student. This information is particularly useful in determining if Student Career Number should prompt on ADM_APPL_PROG in the Term Activation panelgroup.

SELECT d.oprid , A.emplid , A.acad_career , A.stdnt_car_nbr , A.adm_appl_nbr , A.appl_prog_nbr , A.institution , A.acad_prog , A.admit_term ,A.campus FROM ps_adm_appl_prog A , PS_SCRTY_APPL_CTR D ,ps_adm_appl_data F WHERE a.emplid = F.emplid AND A.ACAD_CAREER = F.ACAD_CAREER AND A.STDNT_CAR_NBR = F.STDNT_CAR_NBR AND A.adm_appl_nbr = F.adm_appl_nbr AND D.institution = F.institution AND (D.adm_appl_ctr = F.adm_appl_ctr OR D.adm_appl_ctr = 'ALL') AND A.EFFDT=( SELECT MAX(B.EFFDT) FROM PS_ADM_APPL_PROG B WHERE B.EMPLID=A.EMPLID AND B.ACAD_CAREER=A.ACAD_CAREER AND B.STDNT_CAR_NBR=A.STDNT_CAR_NBR AND B.ADM_APPL_NBR=A.ADM_APPL_NBR AND B.APPL_PROG_NBR=A.APPL_PROG_NBR AND B.EFFDT<=%CurrentDateIn) AND A.effseq = ( SELECT MAX(C.effseq) FROM ps_adm_appl_prog C WHERE A.emplid=C.emplid AND a.acad_career = c.acad_career AND A.stdnt_car_nbr=c.stdnt_car_nbr AND A.adm_appl_nbr = c.adm_appl_nbr AND A.appl_prog_nbr=c.appl_prog_nbr AND A.effdt=c.effdt)

  • Parent record: PERSON
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Prompt Table: PEOPLE_SRCH

    3 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
    4 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr
    5 ADM_APPL_NBR Character(8) VARCHAR2(8) NOT NULL Application Nbr
    6 APPL_PROG_NBR Number(3,0) SMALLINT NOT NULL Application Program Nbr
    7 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
    8 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
    9 ADMIT_TERM Character(4) VARCHAR2(4) NOT NULL Admit Term
    10 CAMPUS Character(5) VARCHAR2(5) NOT NULL Campus