SSR_AC_RSTST2LN

(SQL View)
Index Back

Activity Search Security View

This 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.

SELECT DISTINCT C.OPRID ,V.INSTITUTION ,B.SUBJECT ,B.CATALOG_NBR ,A.DESCR ,V.CRSE_ID ,V.CRSE_OFFER_NBR ,V.CRS_TOPIC_ID ,V.SSR_AC_CONTENT_ID ,H.LANGUAGE_CD ,H.DESCR50 FROM PS_SSR_AC_CRSEREF V ,PS_SSR_AC_RHDR_LNG H ,PS_SSR_AC_RST_PERD R ,PS_CRSE_CATLG_LNG A ,PS_CRSE_OFFER B ,PS_SCRTY_TBL_ACAD C WHERE H.SSR_AC_CONTENT_ID = R.SSR_AC_CONTENT_ID AND H.INSTITUTION = R.INSTITUTION AND 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 ((V.EFFDT = ( SELECT MAX(V1.EFFDT) FROM PS_SSR_AC_CRSEREF V1 WHERE V1.INSTITUTION = V.INSTITUTION AND V1.CRSE_ID = V.CRSE_ID AND V1.CRSE_OFFER_NBR = V.CRSE_OFFER_NBR AND V1.CRS_TOPIC_ID = V.CRS_TOPIC_ID AND V1.EFFDT <= %CurrentDateIn AND H.EFFDT <= %CurrentDateIn)) OR V.EFFDT > %CurrentDateIn) AND V.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_CRSE_CATALOG A1 WHERE A1.CRSE_ID = A.CRSE_ID AND A1.EFFDT <= V.EFFDT)

  • Related Language Record for SSR_AC_RST_STY2
  • # 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 SUBJECT Character(8) VARCHAR2(8) NOT NULL Subject Area

    Default Value: OPR_DEF_TBL_CS.SUBJECT

    Prompt Table: SUBJECT_TBL_VW

    4 CATALOG_NBR Character(10) VARCHAR2(10) NOT NULL Catalog Nbr
    5 SSR_AC_CRS_DESCR Character(30) VARCHAR2(30) NOT NULL Course Description
    6 CRSE_ID_SRCH Character(6) VARCHAR2(6) NOT NULL Course ID

    Prompt Table: SSR_AC_OFFVW

    7 SSR_AC_CRSE_OFF Number(2,0) SMALLINT NOT NULL Course Offering Nbr

    Prompt Table: SSR_AC_CRSEOFVW

    8 CRS_TOPIC_ID Number(3,0) SMALLINT NOT NULL Course Topic ID

    Prompt Table: SSR_AC_TOP_SVW

    9 SSR_AC_CONTENT_ID Character(13) VARCHAR2(13) NOT NULL Activity Registry ID
    10 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    11 SSR_AC_RG_DESCR50 Character(50) VARCHAR2(50) NOT NULL Content Registry Description