SSR_HE_CRSE_SVW

(SQL View)
Index Back

Course Catalog Security

CRSE_CATLG_SCTY is a search view used to restrict course catalog data access to courses offered under Academic Organizations that an operator is authorized to access.

SELECT DISTINCT b.institution ,b.subject ,b.catalog_nbr ,b.campus ,b.crse_id ,C.OPRID ,a.descr ,b.crse_offer_nbr ,C.ACCESS_CD , h.ssr_he_flag FROM %Table(crse_catalog) a ,%Table(crse_offer) b ,%Table(SCRTY_TBL_ACAD) C ,%Table(ssr_he_modp_vw) h WHERE a.crse_id = b.crse_id AND a.effdt = b.effdt AND a.eff_status='A' AND A.EFFDT=( SELECT MAX(EFFDT) FROM PS_CRSE_CATALOG crse_ef WHERE crse_ef.CRSE_ID=A.CRSE_ID AND crse_ef.EFFDT<=%CurrentDateIn AND crse_ef.eff_status='A') AND C.ACCESS_CD='Y' AND EXISTS ( SELECT 'X' FROM PSTREENODE E WHERE E.SETID=' ' AND E.TREE_NAME='ACAD_ORGANIZATION' AND E.EFFDT=C.TREE_EFFDT AND E.TREE_NODE=B.ACAD_ORG AND E.TREE_NODE_NUM BETWEEN C.TREE_NODE_NUM AND C.TREE_NODE_NUM_END AND NOT EXISTS ( SELECT 'X' FROM %Table(SCRTY_TBL_ACAD) G WHERE C.OPRID=G.OPRID AND C.TREE_NODE_NUM<>G.TREE_NODE_NUM AND E.TREE_NODE_NUM BETWEEN G.TREE_NODE_NUM AND G.TREE_NODE_NUM_END AND G.TREE_NODE_NUM BETWEEN C.TREE_NODE_NUM AND C.TREE_NODE_NUM_END)) AND h.crse_id= b.crse_id AND h.crse_offer_nbr = b.crse_offer_nbr AND h.institution= b.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 SUBJECT Character(8) VARCHAR2(8) NOT NULL Subject Area

Default Value: OPR_DEF_TBL_CS.SUBJECT

Prompt Table: SUBJECT_TBL_VW

3 CATALOG_NBR Character(10) VARCHAR2(10) NOT NULL Catalog Nbr
4 CAMPUS Character(5) VARCHAR2(5) NOT NULL Campus

Prompt Table: CAMPUS_TBL

5 SSR_HE_CRSEID_PLAN Character(10) VARCHAR2(10) NOT NULL Course ID

Prompt Table: SSR_HE_CRSLSTVW

6 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
7 DESCR Character(30) VARCHAR2(30) NOT NULL Description
8 SSR_HE_CROFRNBR_YR Number(2,0) SMALLINT NOT NULL Course Offering Nbr
9 ACCESS_CD Character(1) VARCHAR2(1) NOT NULL Access Code
N=No Access
Y=Read/Write Access
10 SSR_HE_FLAG Character(1) VARCHAR2(1) NOT NULL Report to HESA flag