SAD_APL_PRG_BND

(SQL View)
Index Back

Pop Select Program Update

App. Engine work table for Pop Select Program Update.

SELECT A.EMPLID ,A.INSTITUTION ,A.ACAD_CAREER ,A.STDNT_CAR_NBR ,A.ADM_APPL_NBR ,A.APPL_PROG_NBR FROM PS_ADM_APPL_PROG A WHERE A.EFFDT = ( SELECT MAX(A2.EFFDT) FROM PS_ADM_APPL_PROG A2 WHERE A.EMPLID = A2.EMPLID AND A.ACAD_CAREER = A2.ACAD_CAREER AND A.STDNT_CAR_NBR = A2.STDNT_CAR_NBR AND A.ADM_APPL_NBR = A2.ADM_APPL_NBR AND A.APPL_PROG_NBR = A2.APPL_PROG_NBR AND A2.EFFDT <= %CurrentDateIn ) AND A.EFFSEQ = ( SELECT MAX(A3.EFFSEQ) FROM PS_ADM_APPL_PROG A3 WHERE A.EMPLID = A3.EMPLID AND A.ACAD_CAREER = A3.ACAD_CAREER AND A.STDNT_CAR_NBR = A3.STDNT_CAR_NBR AND A.ADM_APPL_NBR = A3.ADM_APPL_NBR AND A.APPL_PROG_NBR = A3.APPL_PROG_NBR AND A.EFFDT = A3.EFFDT)

# 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 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

Prompt Table: STDNT_CAREER

4 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr
5 ADM_APPL_NBR Character(8) VARCHAR2(8) NOT NULL Application Nbr

Prompt Table: ADM_APPL_DATA

6 APPL_PROG_NBR Number(3,0) SMALLINT NOT NULL Application Program Nbr

Prompt Table: ADM_APP_CAR_SEQ