SSR_BR_DPVW_NLD

(SQL View)
Index Back

Diploma Service Current View

2019-08-08 Changes for bug 30014996

SELECT ES.INSTITUTION , ES.SCC_BRINCD_NLD , ES.EMPLID , ES.SSR_BR_ENRL_SQ_NLD , ES.SSR_BR_ENRL_SQ_NLD , APT.HEGIS_CODE , AP.EFFDT , SP.SSR_FUNDING_CD_NLD , (%Sql(SSR_BR_GETDIPLOMA_TYPE_SQL, ES.EMPLID, ES.ACAD_CAREER, ES.STDNT_CAR_NBR, ES.INSTITUTION, ES.SCC_BRINCD_NLD)) AS SSR_BR_DIP_TYP_NLD , CASE WHEN RIO.SSR_RI_BRON_NLD = 'Y' THEN CASE WHEN AP.EFFDT >= INST.SSR_BR_RIO_BDT_NLD THEN CASE WHEN INST.SSR_BR_EDPVSEL_NLD = 'HM' THEN (%Sql(SSR_BR_RIO_EPV_HMCAMP_NLD, ES.INSTITUTION, AP.ACAD_PROG, AP.CAMPUS)) ELSE CASE WHEN INST.SSR_BR_EDPVSEL_NLD = 'AP' THEN (%Sql(SSR_BR_RIO_EPV_ACADPROG_NLD, APT.ACAD_ORG)) ELSE CASE WHEN INST.SSR_BR_EDPVSEL_NLD = 'AC' THEN (%Sql(SSR_BR_RIO_EPV_ACADPROG_NLD, INST.ACAD_ORG)) END END END END END AS SSR_RI_EPV_COD_NLD , ES.ACAD_CAREER , ES.STDNT_CAR_NBR FROM PS_SSR_BR_ENRVWNLD ES JOIN PS_ACAD_PROG AP ON ES.INSTITUTION = AP.INSTITUTION AND ES.EMPLID = AP.EMPLID AND ES.ACAD_CAREER =AP.ACAD_CAREER AND ES.STDNT_CAR_NBR = AP.STDNT_CAR_NBR JOIN PS_ACAD_PROG_TBL APT ON AP.ACAD_PROG = APT.ACAD_PROG JOIN PS_SSR_STD_PRG_NLD SP ON AP.EMPLID = SP.EMPLID AND SP.SSR_PRG_ACTION_NLD IN (%Sql(SSR_BR_SETUP_LNV_PRG_ACT_SQL, ES.INSTITUTION, ES.SCC_BRINCD_NLD,SP.EFFDT)) AND AP.ACAD_CAREER = SP.ACAD_CAREER AND AP.STDNT_CAR_NBR = SP.STDNT_CAR_NBR AND AP.EFFDT = SP.EFFDT AND AP.EFFSEQ = SP.EFFSEQ JOIN PS_SSR_BR_ENRS_NLD INST ON INST.INSTITUTION = ES.INSTITUTION AND INST.SCC_BRINCD_NLD = ES.SCC_BRINCD_NLD LEFT OUTER JOIN PS_SSR_RI_EPS_NLD RIO ON RIO.INSTITUTION = ES.INSTITUTION WHERE AP.ACAD_PROG NOT IN (%Sql(SSR_BR_GET_ACPR_NOT_SEND_SQL, ES.INSTITUTION, ES.SCC_BRINCD_NLD)) AND AP.ACAD_LOAD_APPR NOT IN (%Sql(SSR_BR_GET_ODT_LOAD_SQL, ES.INSTITUTION, ES.SCC_BRINCD_NLD)) AND AP.PROG_ACTION = 'COMP' AND APT.EFFDT = ( SELECT MAX(APT_ED.EFFDT) FROM PS_ACAD_PROG_TBL APT_ED WHERE APT_ED.ACAD_PROG = APT.ACAD_PROG AND APT_ED.EFFDT <= AP.EFFDT) AND INST.EFFDT = ( SELECT MAX(INST_ED.EFFDT) FROM PS_SSR_BR_ENRS_NLD INST_ED WHERE INST.INSTITUTION = INST_ED.INSTITUTION AND INST.SCC_BRINCD_NLD = INST_ED.SCC_BRINCD_NLD AND INST_ED.EFFDT <= AP.EFFDT) AND (RIO.EFFDT = ( SELECT MAX(RIO_ED.EFFDT) FROM PS_SSR_RI_EPS_NLD RIO_ED WHERE RIO.INSTITUTION = RIO_ED.INSTITUTION AND RIO_ED.EFFDT <= %CurrentDateIn) OR RIO.EFFDT IS NULL)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
2 SCC_BRINCD_NLD Character(4) VARCHAR2(4) NOT NULL BRINcode
3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
4 SSR_BR_ENRL_SQ_NLD Character(20) VARCHAR2(20) NOT NULL 2020-04-15 bug 31180485 - enlarged enrollment seq nbr
5 SSR_BR_RESL_SQ_NLD Character(20) VARCHAR2(20) NOT NULL Result Sequence Number
6 HEGIS_CODE Character(8) VARCHAR2(8) NOT NULL HEGIS Code
7 SSR_BR_DIPL_DT_NLD Date(10) DATE Diploma Completed Date
8 SSR_BR_FUNDING_NLD Character(1) VARCHAR2(1) NOT NULL Funding Indicator
N=No
Y=Yes

Y/N Table Edit

9 SSR_BR_DIP_TYP_NLD Character(2) VARCHAR2(2) NOT NULL Type of Diploma
AD=Labor market Diploma
BD=Basis Diploma
DD=Continuing Diploma
10 SSR_RI_EPV_COD_NLD Character(12) VARCHAR2(12) NOT NULL Educational Provider Code
11 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
12 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr