SSR_STAD_PRPL

(SQL View)
Index Back

Student Academic Plan View

This prompt table lists Academic Programs a student may have.

SELECT A.EMPLID , A.INSTITUTION , A.ACAD_CAREER , A.STDNT_CAR_NBR , A.EFFDT , A.EFFSEQ , A.ACAD_PROG , A.ACAD_PLAN , C2.ACAD_SUB_PLAN , A.PROG_STATUS , A.ADMIT_TERM , A.PLAN_SEQUENCE , ( SELECT COUNT(B2.EMPLID) FROM ps_acad_prog B2 WHERE B2.EMPLID = A.EMPLID AND B2.INSTITUTION = A.INSTITUTION AND B2.PROG_STATUS = 'AC' AND b2.effdt = ( SELECT MAX(EFFDT) FROM ps_acad_prog B3 WHERE B2.EMPLID = B3.EMPLID AND B2.ACAD_CAREER = B3.ACAD_CAREER AND B2.STDNT_CAR_NBR = B3.STDNT_CAR_NBR AND B3.EFFDT <= %CurrentDateIn AND B3.EFFSEQ = ( SELECT MAX(B4.EFFSEQ) FROM PS_ACAD_PROG B4 WHERE B4.EMPLID = B3.EMPLID AND B4.ACAD_CAREER = B3.ACAD_CAREER AND B4.Stdnt_Car_Nbr = B3.Stdnt_Car_Nbr AND B4.EFFDT = B3.EFFDT))) AS CNT FROM PS_ACAD_PLAN_VW2 A FULL OUTER JOIN PS_ACAD_SUBPLAN C2 ON A.emplid = C2.emplid AND A.acad_career = C2.acad_career AND A.STDNT_CAR_NBR = C2.STDNT_CAR_NBR AND A.EFFDT = C2.EFFDT AND A.EFFSEQ = C2.EFFSEQ AND A.ACAD_PLAN = C2.ACAD_PLAN WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_ACAD_PLAN_VW2 A2 WHERE A.EMPLID = A2.EMPLID AND A.INSTITUTION = A2.INSTITUTION AND A.ACAD_CAREER = A2.ACAD_CAREER AND A.STDNT_CAR_NBR = A2.STDNT_CAR_NBR AND A.EFFSEQ = A2.EFFSEQ AND A.ACAD_PROG = A2.ACAD_PROG AND A.ACAD_PLAN = A2.ACAD_PLAN AND A.PROG_STATUS = 'AC')

  • Parent record: PERSON
  • # 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

    Default Value: OPR_DEF_TBL_CS.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_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
    8 ACAD_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Plan
    9 ACAD_SUB_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Sub-Plan
    10 PROG_STATUS Character(4) VARCHAR2(4) NOT NULL Academic Program Status
    AC=Active in Program
    AD=Admitted
    AP=Applicant
    CM=Completed Program
    CN=Cancelled
    DC=Discontinued
    DE=Deceased
    DM=Dismissed
    LA=Leave of Absence
    PM=Prematriculant
    SP=Suspended
    WT=Waitlisted
    11 ADMIT_TERM Character(4) VARCHAR2(4) NOT NULL Admit Term
    12 PLAN_SEQUENCE Number(2,0) SMALLINT NOT NULL Plan Sequence
    13 SSR_CAR_COUNT Number(3,0) SMALLINT NOT NULL Student assignment Procedure