SSR_ACCRSADDLNG

(SQL View)
Index Back

Activity Security Add View LNG

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. Related Language Record for SSR_ACCRSE_ADD.

SELECT DISTINCT C.OPRID ,B.INSTITUTION ,B.SUBJECT ,B.CATALOG_NBR ,B.CRSE_ID ,B.CRSE_OFFER_NBR ,A.EFFDT ,L.LANGUAGE_CD ,L.DESCR FROM PS_CRSE_CATALOG A ,PS_CRSE_CATLG_LNG L ,PS_CRSE_OFFER B ,PS_SCRTY_TBL_ACAD C WHERE A.CRSE_ID = B.CRSE_ID AND A.EFFDT = B.EFFDT AND A.CRSE_ID = L.CRSE_ID AND A.EFFDT = L.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))

  • Related Language Record for SSR_ACCRSE_ADD
  • # 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_SRCH Character(5) VARCHAR2(5) NOT NULL Institution

    Prompt Table: INSTITUTION_TBL

    3 SUBJECT_SRCH Character(8) VARCHAR2(8) NOT NULL Subject Area

    Prompt Table: SUBJECT_TBL_VW

    4 CATALOG_NBR_SRCH Character(10) VARCHAR2(10) NOT NULL Catalog Nbr
    5 CRSE_ID Character(6) VARCHAR2(6) NOT NULL Course ID
    6 CRSE_OFFER_NBR Number(2,0) SMALLINT NOT NULL Course Offering Nbr
    7 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    8 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    9 DESCR Character(30) VARCHAR2(30) NOT NULL Description