SSR_IAM_ACROTVW

(SQL View)
Index Back

Activity Root Extension

Activity Root Extension Record

SELECT DISTINCT A.EMPLID , E.INSTITUTION , E.SSR_ACTIVITY_ID , E.SSR_ACTIVITY_ID , A.ACAD_CAREER , A.STRM , C.SSR_AC_EXAM_ONLY , C.SSR_PERIOD_ID , A.SESSION_CODE , E.SSR_AC_CONTENT_ID , E.SSR_AC_EFFDT , E.CRS_TOPIC_ID , E.SSR_ACT_STATUS , F.DESCR50 , B.SUBJECT , B.CATALOG_NBR , B.CRSE_ID , G.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_CRSE_CATALOG G , PS_CRSE_OFFER H , PS_TERM_TBL I WHERE 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 ((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 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 E.SSR_ACT_STATUS = 'C' AND G.CRSE_ID = B.CRSE_ID AND B.CRSE_ID = H.CRSE_ID AND H.CRSE_OFFER_NBR = B.CRSE_OFFER_NBR AND G.EFFDT = H.EFFDT AND A.INSTITUTION = I.INSTITUTION AND A.ACAD_CAREER = I.ACAD_CAREER AND A.STRM = I.STRM AND G.EFFDT = ( SELECT MAX(G1.EFFDT) FROM PS_CRSE_CATALOG G1 WHERE G.CRSE_ID = G1.CRSE_ID AND G1.EFFDT <= I.TERM_BEGIN_DT) UNION SELECT DISTINCT A.EMPLID , D.INSTITUTION , E.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 , BO.SUBJECT , BO.CATALOG_NBR , B.CRSE_ID , B.DESCR FROM PS_STDNT_CAREER A , PS_CRSE_CATALOG B , PS_CRSE_OFFER BO , PS_SSR_ACT_XREF C , PS_SSR_ACTIVITY D , PS_SSR_ACT_ROOTEXT E , PS_SSR_AC_REG_HDR F , PS_SSR_PERIOD_TBL G WHERE BO.CRSE_ID = B.CRSE_ID AND C.CRSE_ID = BO.CRSE_ID AND C.CRSE_OFFER_NBR = BO.CRSE_OFFER_NBR AND C.SSR_AC_EXAM_ONLY = 'Y' 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 = D.INSTITUTION) AND E.SSR_ACT_STATUS = 'C' AND D.INSTITUTION = G.INSTITUTION AND G.SSR_PERIOD_ID = C.SSR_PERIOD_ID AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_CRSE_CATALOG B1 WHERE B.CRSE_ID = B1.CRSE_ID AND B1.EFFDT <= G.SSR_PRD_START_DT) AND B.EFFDT = BO.EFFDT

  • Related Language Record: SSR_IAM_ACRTVLN
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

    Prompt Table: INSTITUTION_TBL

    3 SSR_ACT_ID_ROOT Character(11) VARCHAR2(11) NOT NULL Course Root Activity ID
    4 SSR_ACTIVITY_ID Character(11) VARCHAR2(11) NOT NULL Academic Activity ID

    Prompt Table: SSR_ACT_ROOTEXT

    5 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
    6 STRM Character(4) VARCHAR2(4) NOT NULL Term

    Prompt Table: TERM_VAL_TBL

    7 SSR_AC_EXAM_ONLY Character(1) VARCHAR2(1) NOT NULL Exam Only Course
    8 SSR_PERIOD_ID Character(12) VARCHAR2(12) NOT NULL Academic Period ID

    Prompt Table: SSR_PERIOD_TBL

    9 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
    10 SSR_AC_CONTENT_ID Character(13) VARCHAR2(13) NOT NULL Activity Registry ID
    11 SSR_AC_EFFDT Date(10) DATE Effective Date
    12 CRS_TOPIC_ID Number(3,0) SMALLINT NOT NULL Course Topic ID
    13 SSR_ACT_STATUS Character(1) VARCHAR2(1) NOT NULL Activity Manager Status
    C=Complete
    L=Complete - Locked
    P=Pending
    14 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
    15 SUBJECT Character(8) VARCHAR2(8) NOT NULL Subject Area
    16 CATALOG_NBR Character(10) VARCHAR2(10) NOT NULL Catalog Nbr
    17 CRSE_ID Character(6) VARCHAR2(6) NOT NULL Course ID
    18 DESCR Character(30) VARCHAR2(30) NOT NULL Description