SSR_AIRCRSE_ADD

(SQL View)
Index Back

Activity Security Add 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 ,B.INSTITUTION ,AH.SSR_ITEM_ID ,B.SUBJECT ,B.CATALOG_NBR ,B.CRSE_ID ,B.CRSE_OFFER_NBR ,A.EFFDT ,A.EFF_STATUS ,0 ,B.CAMPUS ,A.DESCR ,C.ACCESS_CD ,B.ACAD_CAREER FROM PS_CRSE_CATALOG A ,PS_CRSE_OFFER B ,PS_SCRTY_TBL_ACAD C ,PS_SSR_AIR_HDR AH ,PS_SSR_AIR_H_CRSE AHC WHERE 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 AH.INSTITUTION = B.INSTITUTION AND AH.EFFDT = ( SELECT MAX(EFFDT) FROM PS_SSR_AIR_HDR XAH WHERE XAH.INSTITUTION = AH.INSTITUTION AND XAH.SSR_ITEM_ID = AH.SSR_ITEM_ID AND XAH.EFFDT <= %CurrentDateIn) AND AH.SSR_ITEM_TYPE = 'COURSE' AND AHC.INSTITUTION = AH.INSTITUTION AND AHC.SSR_ITEM_ID = AH.SSR_ITEM_ID AND AHC.EFFDT = AH.EFFDT AND AHC.CRSE_ID = B.CRSE_ID AND AHC.CRSE_OFFER_NBR = B.CRSE_OFFER_NBR

  • Related Language Record: SSR_AIRCRSA_LNG
  • # 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 SSR_AIR_ITEM_ID Character(11) VARCHAR2(11) NOT NULL Academic Item Program
    4 SUBJECT_SRCH Character(8) VARCHAR2(8) NOT NULL Subject Area

    Prompt Table: SUBJECT_TBL_VW

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

    Default Value: %date

    9 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive
    10 CRS_TOPIC_ID Number(3,0) SMALLINT NOT NULL Course Topic ID
    11 CAMPUS Character(5) VARCHAR2(5) NOT NULL Campus

    Prompt Table: CAMPUS_TBL

    12 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    13 ACCESS_CD Character(1) VARCHAR2(1) NOT NULL Access Code
    N=No Access
    Y=Read/Write Access
    14 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