SSR_ACRSSCT3LNG(SQL View) |
Index Back |
---|---|
Activity Security LanguageThis view is based on CRSE_CATLG_SCTY, a search view used to restrict course catalog data access to courses offered under Academic Organizations that an operator is authorized to access. (Related Language) |
SELECT DISTINCT C.OPRID ,V.INSTITUTION ,V.SSR_AC_CONTENT_ID ,V.EFFDT ,L.LANGUAGE_CD ,%Substring(L.DESCR50, 1, 30) FROM PS_SSR_AC_CRSEREF V ,PS_SSR_AC_REG_HDR H ,PS_SSR_AC_RHDR_LNG L ,PS_CRSE_CATALOG A ,PS_CRSE_OFFER B ,PS_SCRTY_TBL_ACAD C WHERE V.SSR_AC_CONTENT_ID = H.SSR_AC_CONTENT_ID AND V.INSTITUTION = H.INSTITUTION AND V.CRSE_ID = B.CRSE_ID AND V.CRSE_OFFER_NBR = B.CRSE_OFFER_NBR 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)) AND H.SSR_AC_CONTENT_ID = L.SSR_AC_CONTENT_ID AND H.EFFDT = L.EFFDT UNION SELECT DISTINCT C.OPRID ,V.INSTITUTION ,V.SSR_AC_CONTENT_ID ,V.EFFDT ,L.LANGUAGE_CD ,%Substring(L.DESCR50, 1, 30) FROM PS_SSR_AC_CRSE_EXT V ,PS_SSR_AC_REG_HDR H ,PS_SSR_AC_RHDR_LNG L ,PS_CRSE_CATALOG A ,PS_CRSE_OFFER B ,PS_SCRTY_TBL_ACAD C WHERE V.SSR_AC_CONTENT_ID = H.SSR_AC_CONTENT_ID AND V.INSTITUTION = H.INSTITUTION AND V.EFFDT = H.EFFDT AND V.CRSE_ID = B.CRSE_ID AND V.CRSE_OFFER_NBR = B.CRSE_OFFER_NBR 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)) AND H.SSR_AC_CONTENT_ID = L.SSR_AC_CONTENT_ID AND H.EFFDT = L.EFFDT |
# | 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 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Default Value: OPR_DEF_TBL_CS.INSTITUTION Prompt Table: INSTITUTION_TBL |
3 | SSR_AC_CONTENT_ID | Character(13) | VARCHAR2(13) NOT NULL | Activity Registry ID |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |