SSR_IAM_ENCLVW2

(SQL View)
Index Back

Secured IAM Class View

IAM View with Acad Org Security

SELECT DISTINCT A.INSTITUTION , A.ACAD_CAREER , A.STRM , A.EMPLID , A.CLASS_NBR , S.OPRID , A.STDNT_ENRL_STATUS , B.SESSION_CODE , B.SUBJECT , B.CATALOG_NBR , B.CLASS_SECTION , C.SSR_ACTIVITY_ID , E.SSR_ACTIVITY_ID , C.SSR_AC_EXAM_ONLY , C.SSR_PERIOD_ID , E.SSR_AC_CONTENT_ID , E.SSR_AC_EFFDT , E.CRS_TOPIC_ID , E.SSR_ACT_STATUS , F.DESCR50 , B.CRSE_ID , B.CRSE_OFFER_NBR , B.ACAD_ORG , B.DESCR FROM PS_STDNT_ENRL A , PS_CLASS_TBL B , PS_SSR_ACT_XREF C , PS_SSR_ACTIVITY D , PS_SSR_ACT_ROOTEXT E , PS_SSR_AC_REG_HDR F , PS_SCRTY_TBL_ACAD S WHERE A.STDNT_ENRL_STATUS = 'E' AND A.ENRL_DROP_DT IS NULL AND A.GRADING_BASIS_ENRL <> 'NON' AND B.STRM = A.STRM AND B.CLASS_NBR = A.CLASS_NBR AND C.CRSE_ID = B.CRSE_ID AND C.CRSE_OFFER_NBR = B.CRSE_OFFER_NBR AND C.STRM = B.STRM AND C.SESSION_CODE = B.SESSION_CODE AND C.ASSOCIATED_CLASS = B.ASSOCIATED_CLASS AND C.CLASS_SECTION = B.CLASS_SECTION AND C.SSR_AC_CONTENT_TP <> '1000' AND ((D.SSR_ACTIVTY_ID_LNK = C.SSR_ACTIVITY_ID AND E.SSR_ACTIVITY_ID = D.SSR_ACTIVTY_ID_PAR) OR (D.SSR_ACTIVITY_ID = C.SSR_ACTIVITY_ID AND E.SSR_ACTIVITY_ID = D.SSR_ACTIVITY_ID)) AND E.SSR_ACT_STATUS = 'C' AND F.SSR_AC_CONTENT_ID = D.SSR_AC_CONTENT_ID AND F.INSTITUTION = D.INSTITUTION AND F.EFFDT = E.SSR_AC_EFFDT AND E.SSR_ACTIVITY_ID NOT IN ( SELECT X.SSR_ACTIVITY_ID FROM PS_SSR_IAM_ROOTEXT X WHERE X.EMPLID = A.EMPLID AND X.INSTITUTION = A.INSTITUTION) AND S.ACCESS_CD='Y' AND EXISTS ( SELECT 'X' FROM PSTREENODE T WHERE T.SETID=' ' AND T.TREE_NAME='ACAD_ORGANIZATION' AND T.EFFDT=S.TREE_EFFDT AND T.TREE_NODE=B.ACAD_ORG AND T.TREE_NODE_NUM BETWEEN S.TREE_NODE_NUM AND S.TREE_NODE_NUM_END AND NOT EXISTS ( SELECT 'X' FROM PS_SCRTY_TBL_ACAD S2 WHERE S.OPRID=S2.OPRID AND S.TREE_NODE_NUM<>S2.TREE_NODE_NUM AND T.TREE_NODE_NUM BETWEEN S2.TREE_NODE_NUM AND S2.TREE_NODE_NUM_END AND S2.TREE_NODE_NUM BETWEEN S.TREE_NODE_NUM AND S.TREE_NODE_NUM_END))

  • Related Language Record: SSR_IAM_ENCLVL2
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

    Prompt Table: INSTITUTION_TBL

    2 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
    3 STRM Character(4) VARCHAR2(4) NOT NULL Term
    4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    5 CLASS_NBR Number(5,0) INTEGER NOT NULL Class Nbr
    6 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    7 STDNT_ENRL_STATUS Character(2) VARCHAR2(2) NOT NULL Student Enrollment Status
    D=Dropped
    E=Enrolled
    W=Waiting
    8 SESSION_CODE Character(3) VARCHAR2(3) NOT NULL Session
    1=Regular Academic Session
    10W=10 Week
    12W=Twelve Week
    4W1=Four Week - First
    4W2=Four Week - Second
    4W3=Four Week - Third
    4W4=Four Week - Fourth
    6W1=Six Week - First
    6W2=Six Week - Second
    8W1=Eight Week - First
    8W2=Eight Week - Second
    A11=Medical Period 1, 4 Weeks
    A12=Medical Period 1, 8 Weeks
    A13=Medical Pd 1, 12 Weeks
    A21=Medical Period 2, 4 Weeks
    A22=Medical Period 2, 8 Weeks
    A23=Medical Period 2, 12 Week
    FYR=Full Year
    MIN=Mini Session
    OEE=Open Entry/Open Exit
    SM1=Semester 1
    SM2=Semester 2
    9 SUBJECT Character(8) VARCHAR2(8) NOT NULL Subject Area
    10 CATALOG_NBR Character(10) VARCHAR2(10) NOT NULL Catalog Nbr
    11 CLASS_SECTION Character(4) VARCHAR2(4) NOT NULL Class Section
    12 SSR_ACTIVITY_ID Character(11) VARCHAR2(11) NOT NULL Class Activity ID

    Prompt Table: SSR_ACT_ROOTEXT

    13 SSR_ACT_ID_ROOT Character(11) VARCHAR2(11) NOT NULL Course Root Activity ID
    14 SSR_AC_EXAM_ONLY Character(1) VARCHAR2(1) NOT NULL Exam Only Course
    15 SSR_PERIOD_ID Character(12) VARCHAR2(12) NOT NULL Academic Period ID

    Prompt Table: SSR_PERIOD_TBL

    16 SSR_AC_CONTENT_ID Character(13) VARCHAR2(13) NOT NULL Activity Registry ID
    17 SSR_AC_EFFDT Date(10) DATE Effective Date
    18 CRS_TOPIC_ID Number(3,0) SMALLINT NOT NULL Course Topic ID
    19 SSR_ACT_STATUS Character(1) VARCHAR2(1) NOT NULL Activity Manager Status
    C=Complete
    L=Complete - Locked
    P=Pending
    20 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
    21 CRSE_ID Character(6) VARCHAR2(6) NOT NULL Course ID
    22 CRSE_OFFER_NBR Number(2,0) SMALLINT NOT NULL Course Offering Nbr
    23 ACAD_ORG Character(10) VARCHAR2(10) NOT NULL Academic Organization
    24 DESCR Character(30) VARCHAR2(30) NOT NULL Description