SCCPU_SAP2_BND

(SQL View)
Index Back

PU Bind for SFA_SAP_STDNT2

Pop Update Bind view for SFA_SAP_STDNT2

SELECT DISTINCT A.EMPLID ,A.INSTITUTION ,A.ACAD_CAREER ,A1.NAME FROM PS_STDNT_FA_TERM A , PS_SCC_PRI_NAME_VW A1 WHERE A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_STDNT_FA_TERM B WHERE A.EMPLID = B.EMPLID AND A.INSTITUTION = B.INSTITUTION AND A.STRM = B.STRM AND B.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(C.EFFSEQ) FROM PS_STDNT_FA_TERM C WHERE A.EMPLID = C.EMPLID AND A.INSTITUTION = C.INSTITUTION AND A.STRM = C.STRM AND A.EFFDT = C.EFFDT ) AND ( NOT EXISTS ( SELECT 'X' FROM PS_STDNT_AWARDS D WHERE A.EMPLID = D.EMPLID AND A.INSTITUTION = D.INSTITUTION AND A.ACAD_CAREER = D.ACAD_CAREER AND A.AID_YEAR = D.AID_YEAR ) OR EXISTS ( SELECT 'X' FROM PS_STDNT_AWARDS D WHERE A.EMPLID = D.EMPLID AND A.INSTITUTION = D.INSTITUTION AND A.ACAD_CAREER = D.ACAD_CAREER AND A.AID_YEAR = D.AID_YEAR AND NOT EXISTS ( SELECT 'X' FROM PS_SFA_SAP_AWD_TBL F WHERE D.INSTITUTION = F.INSTITUTION AND D.ACAD_CAREER = F.ACAD_CAREER AND ((D.ITEM_TYPE BETWEEN F.ITEM_TYPE_FROM AND F.ITEM_TYPE_TO ) OR D.FIN_AID_TYPE = F.FIN_AID_TYPE) AND F.EFFDT = ( SELECT MAX(G.EFFDT) FROM PS_SFA_SAP_AWD_TBL G WHERE G.INSTITUTION = F.INSTITUTION AND G.ACAD_CAREER = F.ACAD_CAREER AND G.EFFDT <= %CurrentDateIn )) )) AND A.ACAD_CAREER IN ( SELECT DISTINCT AC.ACAD_CAREER FROM PS_SFA_SAP_STP_HDR AC WHERE AC.INSTITUTION = A.INSTITUTION AND AC.SFA_SAP_SETUP_ATV = 'A' AND AC.EFFDT = ( SELECT MAX(AC1.EFFDT) FROM PS_SFA_SAP_STP_HDR AC1 WHERE AC1.INSTITUTION = AC.INSTITUTION AND AC1.ACAD_CAREER = AC.ACAD_CAREER AND AC1.EFFDT <= %CurrentDateIn)) AND A.EMPLID = A1.EMPLID

  • Parent record: FA_FATERM_PARNT
  • # 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 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

    Default Value: OPR_DEF_TBL_CS.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: ACAD_CAR_TBL

    4 NAME Character(50) VARCHAR2(50) NOT NULL Name