SSR_ACM_RT_SRCH(SQL View) |
Index Back |
---|---|
Activity Search Security ViewCopy of SSR_ACM_SCTY but this view only grabs "Completed" Activity Roots (SSR_ACT_ROOTEXT.SSR_ACT_STATUS) |
SELECT DISTINCT C.OPRID ,V.SSR_AC_CONTX_TYPE ,X.SSR_AC_CONTENT_TP ,B.INSTITUTION ,X.STRM ,X.SSR_PERIOD_ID ,B.SUBJECT ,B.CATALOG_NBR ,B.ACAD_CAREER ,B.CAMPUS ,B.CRSE_ID ,B.CRSE_OFFER_NBR ,V.SSR_ACTIVITY_ID ,V.SSR_ACTIVITY_ID ,A.DESCR ,X.SESSION_CODE ,X.ASSOCIATED_CLASS ,X.CRS_TOPIC_ID ,X.CLASS_SECTION ,C.ACCESS_CD ,R.SSR_ACT_STATUS ,B.ACAD_GROUP ,X.SSR_AC_EXAM_ONLY FROM PS_SSR_ACTIVITY V ,PS_SSR_ACT_XREF X ,PS_SSR_ACT_ROOTEXT R ,PS_CRSE_CATALOG A ,PS_CRSE_OFFER B ,PS_SCRTY_TBL_ACAD C WHERE X.CRSE_ID = B.CRSE_ID AND X.CRSE_OFFER_NBR = B.CRSE_OFFER_NBR AND V.SSR_ACTIVITY_ID = X.SSR_ACTIVITY_ID AND X.SSR_AC_CONTENT_TP = '1000' AND R.SSR_ACTIVITY_ID = V.SSR_ACTIVITY_ID AND R.INSTITUTION = V.INSTITUTION AND R.SSR_ACT_STATUS = 'C' AND A.CRSE_ID = B.CRSE_ID AND A.EFFDT = B.EFFDT 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 PS_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)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | SSR_AC_CONTX_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Academic Content Context Type
CRSE=Coursework |
3 | SSR_AC_CONTENT_TP | Character(20) | VARCHAR2(20) NOT NULL | Academic Content Type |
4 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Default Value: OPR_DEF_TBL_CS.INSTITUTION Prompt Table: INSTITUTION_TBL |
5 | STRM | Character(4) | VARCHAR2(4) NOT NULL |
Term
Prompt Table: TERM_VAL_TBL |
6 | SSR_PERIOD_ID | Character(12) | VARCHAR2(12) NOT NULL |
Academic Period ID
Prompt Table: SSR_EXAM_PRD_VW |
7 | SUBJECT | Character(8) | VARCHAR2(8) NOT NULL |
Subject Area
Default Value: OPR_DEF_TBL_CS.SUBJECT Prompt Table: SUBJECT_TBL_VW |
8 | CATALOG_NBR | Character(10) | VARCHAR2(10) NOT NULL | Catalog Nbr |
9 | 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 |
10 | CAMPUS | Character(5) | VARCHAR2(5) NOT NULL |
Campus
Prompt Table: CAMPUS_TBL |
11 | CRSE_ID | Character(6) | VARCHAR2(6) NOT NULL |
Course ID
Prompt Table: SSR_ACMOFFVW |
12 | CRSE_OFFER_NBR | Number(2,0) | SMALLINT NOT NULL |
Course Offering Nbr
Prompt Table: SSR_ACMCRSEOFVW |
13 | SSR_ACTY_ID_SRCH | Character(11) | VARCHAR2(11) NOT NULL | Academic Activity ID |
14 | SSR_ACTIVITY_IDWRK | Character(11) | VARCHAR2(11) NOT NULL | Activity ID |
15 | SSR_AC_CRS_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Course Description |
16 | SSR_ACM_SESSION_CD | Character(3) | VARCHAR2(3) NOT NULL | Session Code |
17 | ASSOCIATED_CLASS | Number(4,0) | SMALLINT NOT NULL | Class Association |
18 | CRS_TOPIC_ID | Number(3,0) | SMALLINT NOT NULL | Course Topic ID |
19 | CLASS_SECTION | Character(4) | VARCHAR2(4) NOT NULL | Class Section |
20 | ACCESS_CD | Character(1) | VARCHAR2(1) NOT NULL |
Access Code
N=No Access Y=Read/Write Access |
21 | SSR_ACT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Activity Manager Status
C=Complete L=Complete - Locked P=Pending |
22 | ACAD_GROUP | Character(5) | VARCHAR2(5) NOT NULL | Academic Group |
23 | SSR_AC_EXAM_ONLY | Character(1) | VARCHAR2(1) NOT NULL |
Exam Only Course
Y/N Table Edit |