SAD_PRS_PRG_VW

(SQL View)
Index Back

Academic Program Security

This is a clone of ACAD_PROG_SCTY2. Prompt view which enforces Academic Program operator security and also checks to see if the programs are valid for the Admit Term and the the Admit Term is greater than the Last Admit Term for a Program.

SELECT a.institution ,a.acad_career ,a.acad_prog ,b.oprid ,a.descr ,b.access_cd FROM ps_acad_prog_tbl a ,PS_SCRTY_TBL_PROG b WHERE b.access_cd = 'Y' AND a.institution = b.institution AND a.acad_career = b.acad_career AND (%CurrentDateIn <= a.SSR_LAST_PRS_DT OR a.SSR_LAST_PRS_DT IS NULL) AND (a.acad_prog = b.acad_prog OR b.acad_prog = 'ALL') AND NOT EXISTS ( SELECT 'X' FROM PS_SCRTY_TBL_PROG c WHERE c.access_cd = 'N' AND c.oprid = b.oprid AND c.institution = b.institution AND c.acad_career = b.acad_career AND c.acad_prog = a.acad_prog) AND a.effdt = ( SELECT MAX(effdt) FROM ps_acad_prog_tbl a1 WHERE a.institution = a1.institution AND a.acad_prog = a1.acad_prog AND a1.effdt <= %CurrentDateIn) AND a.eff_status <> 'I'

  • Related Language Record: SAD_PRS_PRG_VWL
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Institution field to store institution information in campus solution system.

    Prompt Table: INSTITUTION_TBL

    2 ACAD_CAREER Character(4) VARCHAR2(4) NOT NULL Academic career field coming from campus solution system.
    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 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic program field coming from campus solution system.

    Prompt Table: ACAD_PROG_TBL

    4 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 ACCESS_CD Character(1) VARCHAR2(1) NOT NULL Access Code
    N=No Access
    R=Read Only Access
    Y=Read/Write Access