SSR_HM_CRS_SPEC(SQL View) |
Index Back |
---|---|
Aggregated Awd Srch recordTCSI Transactions Aggregated Award Search record |
SELECT DISTINCT AP.EMPLID , AP.ACAD_CAREER , AP.STDNT_CAR_NBR , AP.ACAD_PROG , CASE WHEN AUS.SSR_DEST_PLAN= 'Y' THEN ACAD_PLAN.ACAD_PLAN ELSE ' ' END , AP.INSTITUTION ,CA.SSR_PROVIDER_TYPE , PE.FIRST_NAME_SRCH , PE.LAST_NAME_SRCH , AP.EFFDT , AP.EFFSEQ FROM PS_ACAD_PROG AP , PS_SSR_CAREER_AUS CA , PS_ACAD_PROG_TBL PRG_ANZ , PS_SSR_ACD_PRG_AUS PRG_AUS , PS_SSR_PRG_TYP_TBL PTYPE , PS_ACAD_PLAN ACAD_PLAN , PS_SSR_ACD_PLN_AUS AUS , PS_PEOPLE_SRCH PE WHERE EXISTS ( SELECT AP2.ACAD_PROG FROM PS_ACAD_PROG AP2 WHERE AP2.EMPLID = AP.EMPLID AND AP2.ACAD_CAREER = AP.ACAD_CAREER AND AP2.STDNT_CAR_NBR = AP.STDNT_CAR_NBR AND AP2.INSTITUTION = AP.INSTITUTION AND AP2.ACAD_PROG = AP.ACAD_PROG AND AP2.EFFDT <= %CurrentDateIn) AND AP.EFFDT = ( SELECT MAX(AP3.EFFDT) FROM PS_ACAD_PROG AP3 WHERE AP3.EMPLID = AP.EMPLID AND AP3.ACAD_CAREER = AP.ACAD_CAREER AND AP3.STDNT_CAR_NBR = AP.STDNT_CAR_NBR AND AP3.INSTITUTION = AP.INSTITUTION AND AP3.ACAD_PROG = AP.ACAD_PROG AND AP3.EFFDT <= %CurrentDateIn) AND AP.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_ACAD_PROG PROG2 WHERE AP.EMPLID = PROG2.EMPLID AND AP.ACAD_CAREER = PROG2.ACAD_CAREER AND AP.STDNT_CAR_NBR = PROG2.STDNT_CAR_NBR AND AP.EFFDT = PROG2.EFFDT ) AND AP.INSTITUTION = 'PSAUS' AND CA.INSTITUTION = AP.INSTITUTION AND CA.ACAD_CAREER =AP.ACAD_CAREER AND CA.SSR_PROVIDER_TYPE = 'HEP' AND CA.EFFDT = ( SELECT MAX(CA2.EFFDT) FROM PS_SSR_CAREER_AUS CA2 WHERE CA2.INSTITUTION = CA.INSTITUTION AND CA2.ACAD_CAREER = CA.ACAD_CAREER AND CA2.EFFDT <= %CurrentDateIn) AND ACAD_PLAN.EMPLID = AP.EMPLID AND ACAD_PLAN.ACAD_CAREER = AP.ACAD_CAREER AND ACAD_PLAN.STDNT_CAR_NBR = AP.STDNT_CAR_NBR AND ACAD_PLAN.EFFDT = AP.EFFDT AND ACAD_PLAN.EFFSEQ = AP.EFFSEQ AND AUS.INSTITUTION = AP.INSTITUTION AND AUS.ACAD_PLAN = ACAD_PLAN.ACAD_PLAN AND %EffdtCheck (SSR_ACD_PLN_AUS AUS2, AUS, %CURRENTDATEIN) AND PRG_ANZ.INSTITUTION = AP.INSTITUTION AND PRG_ANZ.ACAD_PROG = AP.ACAD_PROG AND PRG_ANZ.EFFDT = ( SELECT MAX(PRG_ANZ2.EFFDT) FROM PS_ACAD_PROG_TBL PRG_ANZ2 WHERE PRG_ANZ.INSTITUTION = PRG_ANZ2.INSTITUTION AND PRG_ANZ.ACAD_PROG = PRG_ANZ2.ACAD_PROG AND PRG_ANZ2.EFFDT <= %CurrentDateIn) AND PRG_AUS.INSTITUTION = AP.INSTITUTION AND PRG_AUS.ACAD_PROG = AP.ACAD_PROG AND PRG_AUS.EFFDT = ( SELECT MAX(PRG_AUS2.EFFDT) FROM PS_SSR_ACD_PRG_AUS PRG_AUS2 WHERE PRG_AUS.INSTITUTION = PRG_AUS2.INSTITUTION AND PRG_AUS.ACAD_PROG = PRG_AUS2.ACAD_PROG AND PRG_AUS2.EFFDT <= %CurrentDateIn) AND PRG_AUS.SSR_HM_AGGR_AWRD = 'Y' AND PTYPE.SSR_PROG_TYPE_CD = PRG_AUS.SSR_PROG_TYPE_CD AND PTYPE.EFFDT = ( SELECT MAX(TYPE2.EFFDT) FROM PS_SSR_PRG_TYP_TBL TYPE2 WHERE TYPE2.SSR_PROG_TYPE_CD = PTYPE.SSR_PROG_TYPE_CD AND TYPE2.EFFDT <= PRG_ANZ.EFFDT) AND PTYPE.SSR_DEST_NON_DEST = 'N' AND PE.EMPLID=AP.EMPLID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
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 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |
4 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL | Academic Program |
5 | ACAD_PLAN | Character(10) | VARCHAR2(10) NOT NULL | Academic Plan |
6 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
7 | SSR_PROVIDER_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Provider Type
HEP=Higher Education Provider NA=Not Applicable TAC=Tertiary Admission Centre VET=Vocational Education&Training |
8 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
9 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
10 | EFFDT_FROM | Date(10) | DATE | Effective Date From |
11 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |