SSR_RI_EPVV_NLD

(SQL View)
Index Back

Ed provider Current View


SELECT A.INSTITUTION , A.SSR_RI_EDU_GOV_NLD , B.ACAD_ORG , B2.EFFDT , CASE WHEN B.EFF_STATUS = 'I' THEN B.EFFDT END , C.SCC_CAF_ATTR_VAL FROM %Table(SSR_RI_EPS_NLD) A JOIN %Table(ACAD_ORG_TBL) B ON A.INSTITUTION = B.INSTITUTION JOIN %Table(SSR_RI_EPWL_NLD) EPW ON B.INSTITUTION = EPW.INSTITUTION AND B.ACAD_ORG = EPW.ACAD_ORG JOIN %Table(ACAD_ORG_TBL) B2 ON B.ACAD_ORG = B2.ACAD_ORG LEFT OUTER JOIN %Table(ACAD_ORG_CAF) C ON A.SCC_CAF_ATTRIB_NM = C.SCC_CAF_ATTRIB_NM AND B.ACAD_ORG = C.ACAD_ORG WHERE B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM %Table(ACAD_ORG_TBL) B_ED WHERE B.ACAD_ORG = B_ED.ACAD_ORG AND B_ED.EFFDT <= %CurrentDateIn) AND B2.EFFDT = ( SELECT MIN(B2_ED.EFFDT) FROM %Table(ACAD_ORG_TBL) B2_ED WHERE B.ACAD_ORG = B2_ED.ACAD_ORG AND B2_ED.EFFDT <= %CurrentDateIn AND B2_ED.EFF_STATUS = 'A' ) AND (C.EFFDT = ( SELECT MIN(C_ED.EFFDT) FROM %Table(ACAD_ORG_CAF) C_ED WHERE C.ACAD_ORG = C_ED.ACAD_ORG) OR C.EFFDT IS NULL) AND %EffdtCheck(SSR_RI_EPS_NLD A_ED,A,%CURRENTDATEIN) AND A.EFFDT = EPW.EFFDT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
2 SSR_RI_EDU_GOV_NLD Character(20) VARCHAR2(20) NOT NULL Educational Board Code
3 ACAD_ORG Character(10) VARCHAR2(10) NOT NULL Academic Organization
4 BEGIN_DT Date(10) DATE NOT NULL Begin Date
5 END_DT Date(10) DATE end date
6 SSR_RI_EPV_COD_NLD Character(12) VARCHAR2(12) NOT NULL Educational Provider Code