SAD_SL_E31C_VW

(SQL View)
Index Back

Applicant Program View

Currently effective row of the ADM_APPL_PROG table. Used for Studielink equations.

SELECT A.EMPLID ,A.ACAD_PROG ,B.ACAD_PLAN ,C.SCC_BRINCD_NLD ,C.ACAD_YEAR ,A.PROG_STATUS ,A.PROG_ACTION ,A.ACTION_DT ,A.PROG_REASON ,A.ACAD_LOAD_APPR ,A.CAMPUS ,F.TERM_END_DT FROM PS_ACAD_PROG A , PS_ACAD_PLAN B , PS_SSR_STD_PRG_NLD C , PS_EXTERNAL_SYSTEM D ,PS_SAD_SL_LOAD_PRM E ,PS_TERM_TBL F WHERE A.ACAD_CAREER = B.ACAD_CAREER AND A.STDNT_CAR_NBR = B.STDNT_CAR_NBR AND A.EMPLID =B.EMPLID AND A.EFFDT = B.EFFDT AND A.EFFSEQ = B.EFFSEQ AND A.EMPLID = C.EMPLID AND A.ACAD_CAREER = C.ACAD_CAREER AND A.STDNT_CAR_NBR = C.STDNT_CAR_NBR AND A.INSTITUTION = F.INSTITUTION AND A.ACAD_CAREER = F.ACAD_CAREER AND C.ACAD_YEAR = F.ACAD_YEAR AND A.EMPLID = D.EMPLID AND D.EXTERNAL_SYSTEM ='SLN' AND D.EFFDT = ( SELECT MAX(D1.EFFDT) FROM PS_EXTERNAL_SYSTEM D1 WHERE D.EMPLID = D1.EMPLID AND D.EXTERNAL_SYSTEM = D1.EXTERNAL_SYSTEM AND D1.EFFDT <= %CurrentDateIn) AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ACAD_PROG A1 WHERE A.EMPLID =A1.EMPLID AND A.ACAD_CAREER = A1.ACAD_CAREER AND A.STDNT_CAR_NBR = A1.STDNT_CAR_NBR AND A1.EFFDT <= F.TERM_END_DT AND A1.PROG_STATUS IN ('AC','AD','AP') ) AND A.EFFSEQ = ( SELECT MAX(A2.EFFSEQ) FROM PS_ACAD_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.EFFDT =A2.EFFDT) AND E.SSR_SLC_ACT31C_NLD = C.SSR_PRG_ACTION_NLD AND EXISTS ( SELECT 'X' FROM PS_SSR_STD_PRG_NLD C1 WHERE C.EMPLID = C1.EMPLID AND C.ACAD_CAREER = C1.ACAD_CAREER AND C.STDNT_CAR_NBR = C1.STDNT_CAR_NBR AND C1.ACAD_YEAR = C.ACAD_YEAR) AND NOT EXISTS ( SELECT 'X' FROM PS_SAD_SL_ACTION D WHERE A.EMPLID = D.EMPLID AND A.INSTITUTION = D.INSTITUTION AND D.SAD_SL_MSG_CODE ='31C' AND A.ACAD_CAREER = D.ACAD_CAREER AND A.ACAD_PROG = D.ACAD_PROG AND C.SCC_BRINCD_NLD = D.SCC_BRINCD_NLD AND A.ACAD_PROG = D.ACAD_PROG AND B.ACAD_PLAN = D.ACAD_PLAN AND C.ACAD_YEAR = D.ACAD_YEAR)

  • Parent record: ADM_APP_CAR_SEQ
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Prompt Table: PEOPLE_SRCH

    2 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program

    Prompt Table: ACAD_PROG_SCTY2

    3 ACAD_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Plan
    4 SCC_BRINCD_NLD Character(4) VARCHAR2(4) NOT NULL BRINcode
    5 ACAD_YEAR Character(4) VARCHAR2(4) NOT NULL Academic Year
    6 PROG_STATUS Character(4) VARCHAR2(4) NOT NULL Academic Program Status
    AC=Active in Program
    AD=Admitted
    AP=Applicant
    CM=Completed Program
    CN=Cancelled
    DC=Discontinued
    DE=Deceased
    DM=Dismissed
    LA=Leave of Absence
    PM=Prematriculant
    SP=Suspended
    WT=Waitlisted
    7 PROG_ACTION Character(4) VARCHAR2(4) NOT NULL Program Action
    ACTV=Activate
    ADMT=Admit
    ADRV=Admission Revocation
    APPL=Application
    COMP=Completion of Program
    COND=Conditional Admit
    DATA=Data Change
    DDEF=Defer Decision
    DEFR=Defer Enrollment
    DEIN=Intention to Matriculate
    DENY=Deny
    DISC=Discontinuation
    DISM=Dismissal
    LEAV=Leave of Absence
    MATR=Matriculation
    PLNC=Plan Change
    PRGC=Program Change
    RADM=Readmit
    RAPP=Readmit Application
    RECN=Reconsideration
    REVK=Revoke Degree
    RLOA=Return from Leave of Absence
    SPND=Suspension
    TRAN=Transfer to Other Career
    VDIS=Voluntarily Discontinued
    WADM=Administrative Withdrawal
    WAIT=Waitlist
    WAOF=Waitlist Offer
    WAPP=Applicant Withdrawal

    Prompt Table: ADM_ACTION_SCTY

    8 ACTION_DT Date(10) DATE Action Date
    9 PROG_REASON Character(4) VARCHAR2(4) NOT NULL Action Reason

    Prompt Table: PROG_RSN_TBL

    10 ACAD_LOAD_APPR Character(1) VARCHAR2(1) NOT NULL Approved Academic Load
    B=Vocational Coaching (NLD)
    D=Dual (NLD)
    E=Part-time Vocational Tr (NLD)
    F=Full-Time
    O=Vocational Training (NLD)
    P=Part-Time
    11 CAMPUS Character(5) VARCHAR2(5) NOT NULL Campus

    Prompt Table: %EDITTABLE

    12 TERM_END_DT Date(10) DATE Term Ending Date