SSR_CRSE_OFF_V1(SQL View) |
Index Back |
---|---|
Course Offer Viewby Institution, including ACAD_ORG security |
SELECT b.institution , a.crse_id , b.crse_offer_nbr , s.oprid , a.effdt , a.eff_status , b.subject , b.catalog_nbr , a.descr , b.course_approved , s.access_cd FROM ps_crse_catalog a , PS_CRSE_OFFER b , ps_scrty_tbl_acad s WHERE a.crse_id = b.crse_id AND a.effdt = b.effdt AND b.course_approved = 'A' AND s.access_cd='Y' AND EXISTS ( SELECT 'x' FROM pstreenode t WHERE t.setid=' ' AND t.tree_name='ACAD_ORGANIZATION' AND t.effdt=s.tree_effdt AND t.tree_node=b.acad_org AND t.tree_node_num BETWEEN s.tree_node_num AND s.tree_node_num_end AND NOT EXISTS ( SELECT 'x' FROM ps_scrty_tbl_acad s1 WHERE s1.oprid=s.oprid AND s1.tree_node_num<>s.tree_node_num AND t.tree_node_num BETWEEN s1.tree_node_num AND s1.tree_node_num_end AND s1.tree_node_num BETWEEN s.tree_node_num AND s.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 | CRSE_ID | Character(6) | VARCHAR2(6) NOT NULL | Course ID |
3 | CRSE_OFFER_NBR | Number(2,0) | SMALLINT NOT NULL | Course Offering Nbr |
4 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
5 | EFFDT | Date(10) | DATE | Effective Date |
6 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
7 | SUBJECT | Character(8) | VARCHAR2(8) NOT NULL | Subject Area |
8 | CATALOG_NBR | Character(10) | VARCHAR2(10) NOT NULL | Catalog Nbr |
9 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
10 | COURSE_APPROVED | Character(1) | VARCHAR2(1) NOT NULL |
Course Approved
A=Approved D=Denied P=Pending |
11 | ACCESS_CD | Character(1) | VARCHAR2(1) NOT NULL |
Access Code
N=No Access Y=Read/Write Access |