SAA_ACAD_PLN_VW

(SQL View)
Index Back

Student Acad Plan Prompt Vw

This view is used to record the Plans to which a student is admitted, and initial data of persons admitted to any Academic Plan in the institution.

SELECT A.EMPLID , A.INSTITUTION , A.ACAD_CAREER , A.STDNT_CAR_NBR , A.EFFDT , A.EFFSEQ , B.ACAD_PLAN , B.PLAN_SEQUENCE , D.DESCR , B.REQ_TERM FROM PS_ACAD_PROG A , PS_ACAD_PLAN B , PS_TERM_TBL C , PS_ACAD_PLAN_TBL D WHERE A.EFFDT = ( SELECT MAX (A1.EFFDT) FROM PS_ACAD_PROG A1 WHERE A1.EMPLID = A.EMPLID AND A1.ACAD_CAREER = A.ACAD_CAREER AND A1.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND A1.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX (A2.EFFSEQ) FROM PS_ACAD_PROG A2 WHERE A2.EMPLID = A.EMPLID AND A2.ACAD_CAREER = A.ACAD_CAREER AND A2.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND A2.EFFDT = A.EFFDT) AND A.EMPLID = B.EMPLID AND A.ACAD_CAREER = B.ACAD_CAREER AND A.STDNT_CAR_NBR = B.STDNT_CAR_NBR AND A.EFFDT = B.EFFDT AND A.EFFSEQ = B.EFFSEQ AND A.INSTITUTION = C.INSTITUTION AND A.ACAD_CAREER = C.ACAD_CAREER AND B.REQ_TERM = C.STRM AND D.INSTITUTION = A.INSTITUTION AND D.ACAD_PLAN = B.ACAD_PLAN AND D.EFFDT = ( SELECT MAX (D1.EFFDT) FROM PS_ACAD_PLAN_TBL D1 WHERE D1.INSTITUTION = D.INSTITUTION AND D1.ACAD_PLAN = D.ACAD_PLAN AND D1.EFFDT <= C.TERM_BEGIN_DT AND D1.EFF_STATUS = 'A')

  • Related Language Record: SAA_ACAD_PLN_LN
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Prompt Table: PEOPLE_SRCH

    2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

    Prompt Table: INSTITUTION_TBL

    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 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    6 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
    7 ACAD_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Plan
    8 PLAN_SEQUENCE Number(2,0) SMALLINT NOT NULL Plan Sequence
    9 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    10 REQ_TERM Character(4) VARCHAR2(4) NOT NULL Requirement Term