SSR_IAM_RSOTHVW

(SQL View)
Index Back

IAM Result View for non-Course

IAM Result View for non-Course Content Types

SELECT DISTINCT A.INSTITUTION , A.EMPLID , A.SSR_ACTIVITY_ID , A.SSR_ACT_ID_SEQ_NBR , A.SSR_RSLT_TYPE , A.SSR_RSLT_SEQ , A.SSR_IAM_RSLT_STAT , B.SSR_ACT_ID_ROOT , C.SSR_AC_CONTENT_TP , DD.SSR_COMPONENT , D.SSR_PERIOD_ID , D.SSR_AC_EXAM_ONLY , F.ACAD_CAREER , E.STRM , H.TERM_BEGIN_DT , E.ACAD_ORG , E.SESSION_CODE , E.CRSE_ID , E.CRSE_OFFER_NBR , E.SUBJECT , E.CATALOG_NBR , E.CLASS_NBR , I.SSR_APT_INSTANCE , L.SSR_APT_ITEM_SEQ , E.DESCR , CASE WHEN I.SSR_APT_INSTANCE = 0 THEN 9 WHEN M.EMPLID IS NOT NULL AND I.SSR_APT_INSTANCE = M.SSR_APT_INSTANCE THEN 1 WHEN I.ACAD_PROG = F.ACAD_PROG THEN 2 ELSE 3 END AS SSR_ACAD_PROG_FLAG FROM PS_SSR_IAM_RESULT A , PS_SSR_IAM B , PS_SSR_ACTIVITY C , PS_SSR_ACT_XREF D , PS_SSR_ACT_XREF DD , PS_CLASS_TBL E , PS_STDNT_ENRL F LEFT OUTER JOIN PS_SSR_APT_ENRL M ON M.EMPLID = F.EMPLID AND M.INSTITUTION = F.INSTITUTION AND M.SRC_TERM = F.STRM AND M.CLASS_NBR = F.CLASS_NBR , PS_STDNT_CAR_TERM G , PS_SSR_IAM_PE_EFF H , PS_ACAD_PROG I , PS_SSR_AC_RSLTMAP J , PS_SSR_RSLT_ITMTYP K , PS_SSR_IAM_APTSQVW L WHERE A.SSR_INCL_IN_CALC = 'Y' AND A.SSR_RSLT_SEQ = ( SELECT MAX(A2.SSR_RSLT_SEQ) FROM PS_SSR_IAM_RESULT A2 WHERE A2.EMPLID = A.EMPLID AND A2.INSTITUTION = A.INSTITUTION AND A2.SSR_ACTIVITY_ID = A.SSR_ACTIVITY_ID AND A2.SSR_RSLT_TYPE = A.SSR_RSLT_TYPE) AND A.SSR_RSLT_SEQ NOT IN ( SELECT P.SSR_RSLT_SEQ FROM PS_SSR_IAM_RSLTPST P WHERE P.EMPLID = A.EMPLID AND P.INSTITUTION = A.INSTITUTION AND P.SSR_ACTIVITY_ID = A.SSR_ACTIVITY_ID AND P.SSR_ACT_ID_SEQ_NBR = A.SSR_ACT_ID_SEQ_NBR AND P.SSR_RSLT_SEQ = A.SSR_RSLT_SEQ AND (P.SSR_IAM_RSLTPST_ST = 'C' OR P.SSR_IAM_RSLTPST_ST = 'P')) AND B.EMPLID = A.EMPLID AND B.INSTITUTION = A.INSTITUTION AND B.SSR_ACTIVITY_ID = A.SSR_ACTIVITY_ID AND B.SSR_ACT_ID_SEQ_NBR = A.SSR_ACT_ID_SEQ_NBR AND C.INSTITUTION = A.INSTITUTION AND C.SSR_ACTIVITY_ID = A.SSR_ACTIVITY_ID AND C.SSR_AC_CONTENT_TP <> '1000' AND D.SSR_ACTIVITY_ID = B.SSR_ACT_ID_ROOT AND D.SSR_AC_CONTENT_TP = '1000' AND D.SSR_AC_EXAM_ONLY <> 'Y' AND DD.SSR_ACTIVITY_ID = A.SSR_ACTIVITY_ID AND E.CRSE_ID = D.CRSE_ID AND E.CRSE_OFFER_NBR = D.CRSE_OFFER_NBR AND E.STRM = D.STRM AND E.SESSION_CODE = D.SESSION_CODE AND F.EMPLID = A.EMPLID AND F.INSTITUTION = A.INSTITUTION AND F.STRM = D.STRM AND F.CLASS_NBR = E.CLASS_NBR AND F.GRADING_BASIS_ENRL <> 'NON' AND G.EMPLID = A.EMPLID AND G.INSTITUTION = A.INSTITUTION AND G.ACAD_CAREER = F.ACAD_CAREER AND G.STRM = D.STRM AND H.INSTITUTION = A.INSTITUTION AND H.ACAD_CAREER = F.ACAD_CAREER AND H.STRM = D.STRM AND I.EMPLID = A.EMPLID AND I.ACAD_CAREER = F.ACAD_CAREER AND I.EFFDT = ( SELECT MAX(I2.EFFDT) FROM PS_ACAD_PROG I2 WHERE I2.EMPLID = I.EMPLID AND I2.ACAD_CAREER = I.ACAD_CAREER AND I2.STDNT_CAR_NBR = I.STDNT_CAR_NBR AND I2.EFFDT <= H.EFFDT) AND I.EFFSEQ = ( SELECT MAX(I3.EFFSEQ) FROM PS_ACAD_PROG I3 WHERE I3.EMPLID = I.EMPLID AND I3.ACAD_CAREER = I.ACAD_CAREER AND I3.STDNT_CAR_NBR = I.STDNT_CAR_NBR AND I3.EFFDT = I.EFFDT) AND I.SSR_APT_INSTANCE <> 0 AND J.SSR_RSLT_TYPE = A.SSR_RSLT_TYPE AND J.SSR_AC_CONTX_TYPE = C.SSR_AC_CONTX_TYPE AND J.SSR_AC_CONTENT_TP = C.SSR_AC_CONTENT_TP AND J.EFFDT = ( SELECT MAX(J2.EFFDT) FROM PS_SSR_AC_RSLTMAP J2 WHERE J2.SSR_RSLT_TYPE = J.SSR_RSLT_TYPE AND J2.SSR_AC_CONTX_TYPE = J.SSR_AC_CONTX_TYPE AND J2.SSR_AC_CONTENT_TP = J.SSR_AC_CONTENT_TP AND J2.EFFDT <= H.TERM_BEGIN_DT) AND K.SSR_RSLT_TYPE = A.SSR_RSLT_TYPE AND K.SSR_ITEM_TYPE = J.SSR_ITEM_TYPE AND K.SSR_RSLT_PEAM = 'Y' AND K.EFFDT = ( SELECT MAX(K2.EFFDT) FROM PS_SSR_RSLT_ITMTYP K2 WHERE K2.SSR_RSLT_TYPE = K.SSR_RSLT_TYPE AND K2.SSR_ITEM_TYPE = K.SSR_ITEM_TYPE AND K2.EFFDT <= H.TERM_BEGIN_DT) AND L.EMPLID = A.EMPLID AND L.INSTITUTION = A.INSTITUTION AND L.CLASS_NBR = E.CLASS_NBR AND L.SSR_ITEM_TYPE = J.SSR_ITEM_TYPE AND (L.SSR_COMPONENT = DD.SSR_COMPONENT OR L.SSR_COMPONENT IS NULL)

  • Related Language Record: SSR_IAM_ROTVWLN
  • # 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 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    3 SSR_ACTIVITY_ID Character(11) VARCHAR2(11) NOT NULL Academic Activity ID
    4 SSR_ACT_ID_SEQ_NBR Number(4,0) SMALLINT NOT NULL Activity ID Sequence Number
    5 SSR_RSLT_TYPE Character(20) VARCHAR2(20) NOT NULL Result Type
    6 SSR_RSLT_SEQ Number(3,0) SMALLINT NOT NULL Result Sequence Nbr
    7 SSR_IAM_RSLT_STAT Character(2) VARCHAR2(2) NOT NULL Result Status
    00=00-Undetermined
    05=05-Manual
    07=07-Imported
    10=10-Calculated
    20=20-Awaiting Approval
    30=30-Approved
    40=40-Overridden
    50=50-Final
    8 SSR_ACT_ID_ROOT Character(11) VARCHAR2(11) NOT NULL Course Root Activity ID
    9 SSR_AC_CONTENT_TP Character(20) VARCHAR2(20) NOT NULL Academic Content Type
    10 SSR_COMPONENT Character(3) VARCHAR2(3) NOT NULL Course Component.
    CLN=Clinical
    CON=Continuance
    DIS=Discussion
    FLD=Field Studies
    IND=Independent Study
    LAB=Laboratory
    LEC=Lecture
    PRA=Practicum
    RSC=Research
    SEM=Seminar
    SUP=Supervision
    THE=Thesis Research
    TUT=Tutorial
    11 SSR_PERIOD_ID Character(12) VARCHAR2(12) NOT NULL Academic Period ID
    12 SSR_AC_EXAM_ONLY Character(1) VARCHAR2(1) NOT NULL Exam Only Course
    13 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
    14 STRM Character(4) VARCHAR2(4) NOT NULL Term
    15 SSR_EFFDT Date(10) DATE Effective Date
    16 ACAD_ORG Character(10) VARCHAR2(10) NOT NULL Academic Organization
    17 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
    18 CRSE_ID Character(6) VARCHAR2(6) NOT NULL Course ID
    19 CRSE_OFFER_NBR Number(2,0) SMALLINT NOT NULL Course Offering Nbr
    20 SUBJECT Character(8) VARCHAR2(8) NOT NULL Subject Area
    21 CATALOG_NBR Character(10) VARCHAR2(10) NOT NULL Catalog Nbr
    22 CLASS_NBR Number(5,0) INTEGER NOT NULL Class Nbr
    23 SSR_APT_INSTANCE Number(3,0) SMALLINT NOT NULL Academic Progress Tracker Instance Number
    24 SSR_APT_ITEM_SEQ Number(6,0) INTEGER NOT NULL APT Item Seq
    25 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    26 SSR_ACAD_PROG_FLAG Number(1,0) SMALLINT NOT NULL Primary Academic Program Flag