SSR_IAM_GNCLSVW(SQL View) |
Index Back |
---|---|
Secured IAM Class ViewIAM View with Acad Org Security |
SELECT DISTINCT E.INSTITUTION , B.STRM , B.SESSION_CODE , B.SUBJECT , B.CATALOG_NBR , B.CLASS_SECTION , B.CLASS_NBR , S.OPRID , C.SSR_ACTIVITY_ID , E.SSR_ACTIVITY_ID , C.SSR_AC_EXAM_ONLY , C.SSR_PERIOD_ID , A.ACAD_CAREER , E.SSR_AC_CONTENT_ID , E.SSR_AC_EFFDT , E.CRS_TOPIC_ID , E.SSR_ACT_STATUS , F.DESCR50 , B.CRSE_ID , B.CRSE_OFFER_NBR , B.DESCR FROM PS_STDNT_ENRL A , PS_CLASS_TBL B , PS_SSR_ACT_XREF C , PS_SSR_ACTIVITY D , PS_SSR_ACT_ROOTEXT E , PS_SSR_AC_REG_HDR F , PS_SCRTY_TBL_ACAD S WHERE A.GRADING_BASIS_ENRL <> 'NON' AND B.STRM = A.STRM AND B.CLASS_NBR = A.CLASS_NBR AND C.CRSE_ID = B.CRSE_ID AND C.CRSE_OFFER_NBR = B.CRSE_OFFER_NBR AND C.STRM = B.STRM AND C.SESSION_CODE = B.SESSION_CODE AND C.ASSOCIATED_CLASS = B.ASSOCIATED_CLASS AND C.CLASS_SECTION = B.CLASS_SECTION AND C.SSR_AC_CONTENT_TP <> '1000' AND ((D.SSR_ACTIVTY_ID_LNK = C.SSR_ACTIVITY_ID AND E.SSR_ACTIVITY_ID = D.SSR_ACTIVTY_ID_PAR) OR (D.SSR_ACTIVITY_ID = C.SSR_ACTIVITY_ID AND E.SSR_ACTIVITY_ID = D.SSR_ACTIVITY_ID)) AND F.SSR_AC_CONTENT_ID = D.SSR_AC_CONTENT_ID AND F.INSTITUTION = D.INSTITUTION AND F.EFFDT = E.SSR_AC_EFFDT AND E.SSR_ACTIVITY_ID NOT IN ( SELECT X.SSR_ACTIVITY_ID FROM PS_SSR_IAM_ROOTEXT X WHERE X.EMPLID = A.EMPLID AND X.INSTITUTION = A.INSTITUTION) 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 S2 WHERE S.OPRID=S2.OPRID AND S.TREE_NODE_NUM<>S2.TREE_NODE_NUM AND S.TREE_NODE_NUM BETWEEN S2.TREE_NODE_NUM AND S2.TREE_NODE_NUM_END AND S2.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
Prompt Table: INSTITUTION_TBL |
2 | STRM | Character(4) | VARCHAR2(4) NOT NULL | Term |
3 | 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 |
4 | SUBJECT | Character(8) | VARCHAR2(8) NOT NULL | Subject Area |
5 | CATALOG_NBR | Character(10) | VARCHAR2(10) NOT NULL | Catalog Nbr |
6 | CLASS_SECTION | Character(4) | VARCHAR2(4) NOT NULL | Class Section |
7 | CLASS_NBR | Number(5,0) | INTEGER NOT NULL | Class Nbr |
8 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
9 | SSR_ACTIVITY_ID | Character(11) | VARCHAR2(11) NOT NULL |
Class Activity ID
Prompt Table: SSR_ACT_ROOTEXT |
10 | SSR_ACT_ID_ROOT | Character(11) | VARCHAR2(11) NOT NULL | Course Root Activity ID |
11 | SSR_AC_EXAM_ONLY | Character(1) | VARCHAR2(1) NOT NULL | Exam Only Course |
12 | SSR_PERIOD_ID | Character(12) | VARCHAR2(12) NOT NULL |
Academic Period ID
Prompt Table: SSR_PERIOD_TBL |
13 | 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 |
14 | SSR_AC_CONTENT_ID | Character(13) | VARCHAR2(13) NOT NULL | Activity Registry ID |
15 | SSR_AC_EFFDT | Date(10) | DATE | Effective Date |
16 | CRS_TOPIC_ID | Number(3,0) | SMALLINT NOT NULL | Course Topic ID |
17 | SSR_ACT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Activity Manager Status
C=Complete L=Complete - Locked P=Pending |
18 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |
19 | CRSE_ID | Character(6) | VARCHAR2(6) NOT NULL | Course ID |
20 | CRSE_OFFER_NBR | Number(2,0) | SMALLINT NOT NULL | Course Offering Nbr |
21 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |