ACAD_PROG_SCTY2(SQL View) |
Index Back |
---|---|
Academic Program Security VW2This is a clone ACAD_PROG_SCTY without the EFFDT and EFF_STATUS fields and ADMIT_TERM as key field. Prompt view which enforces Academic Program operator security and also checks to see if the programs are valid for the Admit Term. |
select a.institution ,a.acad_career ,d.strm ,a.acad_prog ,b.oprid ,a.descr ,b.access_cd from PS_ACAD_PROG_TBL a ,ps_scrty_tbl_prog b ,ps_term_tbl d where b.access_cd = 'Y' and a.institution = b.institution and a.acad_career = b.acad_career 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.institution = d.institution and a.acad_career = d.acad_career 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 <= d.term_begin_dt) and a.eff_status <> 'I' and a.institution = d.institution |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Default Value: OPR_DEF_TBL_CS.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 | ADMIT_TERM | Character(4) | VARCHAR2(4) NOT NULL |
Admit Term
Prompt Table: ACAD_PROG_TBL |
4 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL |
Academic Program
Prompt Table: ACAD_PROG_TBL |
5 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | ACCESS_CD | Character(1) | VARCHAR2(1) NOT NULL |
Access Code
N=No Access Y=Read/Write Access |