CLASS_ASSO_SCTY(SQL View) |
Index Back |
---|---|
Class Assocs Security SearchCLASS_ASSO_SCTY is used as a search view to retrieve Class Associations of Courses offerred under Academic Organizations that an operator has been granted access to. |
SELECT b.institution ,a.strm ,b.subject ,b.catalog_nbr ,b.acad_career ,e.session_code ,f.oprid ,b.crse_id ,e.crse_offer_nbr ,c.descr ,f.access_cd FROM ps_term_tbl a , PS_CRSE_OFFER b , ps_crse_catalog c , ps_class_assoc e , ps_scrty_tbl_acad f WHERE b.effdt = ( SELECT MAX(d.effdt) FROM PS_CRSE_OFFER d WHERE d.crse_id = b.crse_id AND d.crse_offer_nbr = b.crse_offer_nbr AND d.effdt <= a.term_begin_dt) AND b.institution = a.institution AND b.acad_career = a.acad_career AND b.crse_id = c.crse_id AND b.effdt = c.effdt AND e.crse_id = b.crse_id AND e.crse_offer_nbr = b.crse_offer_nbr AND e.strm = a.strm AND f.access_cd='Y' AND EXISTS ( SELECT 'x' FROM pstreenode g WHERE g.setid=' ' AND g.tree_name='ACAD_ORGANIZATION' AND g.effdt=f.tree_effdt AND g.tree_node=b.acad_org AND g.tree_node_num BETWEEN f.tree_node_num AND f.tree_node_num_end AND NOT EXISTS ( SELECT 'x' FROM ps_scrty_tbl_acad h WHERE f.oprid=h.oprid AND f.tree_node_num<>h.tree_node_num AND g.tree_node_num BETWEEN h.tree_node_num AND h.tree_node_num_end AND h.tree_node_num BETWEEN f.tree_node_num AND f.tree_node_num_end)) |
# | 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 | STRM | Character(4) | VARCHAR2(4) NOT NULL |
Term
Default Value: OPR_DEF_TBL_CS.STRM Prompt Table: TERM_VAL_TBL |
3 | SUBJECT | Character(8) | VARCHAR2(8) NOT NULL |
Subject Area
Default Value: OPR_DEF_TBL_CS.SUBJECT Prompt Table: SUBJECT_TBL |
4 | CATALOG_NBR | Character(10) | VARCHAR2(10) NOT NULL | Catalog Nbr |
5 | 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 |
6 | SESSION_CODE | Character(3) | VARCHAR2(3) NOT NULL |
Session
1=Regular Academic Session 10W=10 Week 12W=Twelve Week 4W1=Four Week - First 4W2=Four Week - Second 4W3=Four Week - Third 4W4=Four Week - Fourth 6W1=Six Week - First 6W2=Six Week - Second 8W1=Eight Week - First 8W2=Eight Week - Second A11=Medical Period 1, 4 Weeks A12=Medical Period 1, 8 Weeks A13=Medical Pd 1, 12 Weeks A21=Medical Period 2, 4 Weeks A22=Medical Period 2, 8 Weeks A23=Medical Period 2, 12 Week FYR=Full Year MIN=Mini Session OEE=Open Entry/Open Exit SM1=Semester 1 SM2=Semester 2 |
7 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
8 | CRSE_ID | Character(6) | VARCHAR2(6) NOT NULL |
Course ID
Prompt Table: CRSE_CATALOG |
9 | CRSE_OFFER_NBR | Number(2,0) | SMALLINT NOT NULL |
Course Offering Nbr
Prompt Table: CRSE_OFFER |
10 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
11 | ACCESS_CD | Character(1) | VARCHAR2(1) NOT NULL |
Access Code
N=No Access Y=Read/Write Access |