LN_UPD_PLN_SCTY

(SQL View)
Index Back

Orig Update Program Securty Vw

This view is used to impose program-level security on LOAN_ORIG, a Financial Aid component. (See Security View setup under Secure Student Administration.) This view selects students from both the admission and program stack. It is a clone of LOAN_UPD_SRCH, It provides the user with a list box of only students that are on the Loan Origination table with direct loans for the year selected. The list box will also provide identifying information from the Personal_Data table.

SELECT C.OPRCLASS , A.EMPLID , A.INSTITUTION , A.AID_YEAR , A.ACAD_CAREER , A.LOAN_TYPE , A.LN_APPL_SEQ , F.OPRID , B.DESCR , C.NAME , C.NATIONAL_ID , C.NATIONAL_ID_MSK , C.LAST_NAME_SRCH , C.FIRST_NAME_SRCH , F.ACCESS_CD FROM PS_LOAN_ORIGNATN A , PS_LN_TYPE_TBL B , PS_PEOPLE_SRCH C , PS_ADM_PROG_PLN_VW E , PS_SCRTY_TBL_PLAN F WHERE C.EMPLID = A.EMPLID AND ( ( B.INSTITUTION = A.INSTITUTION AND B.AID_YEAR = A.AID_YEAR AND B.LOAN_TYPE = A.LOAN_TYPE) ) AND ( A.LN_VERSION = 'DL2000' OR A.LN_VERSION NOT LIKE 'DL%' ) AND A.EMPLID = E.EMPLID AND A.INSTITUTION = F.INSTITUTION AND A.ACAD_CAREER = E.ACAD_CAREER AND (F.ACAD_PLAN = E.ACAD_PLAN OR F.ACAD_PLAN = 'ALL') AND F.ACCESS_CD = 'Y' AND NOT EXISTS ( SELECT 'X' FROM PS_SCRTY_TBL_PLAN F1 WHERE F1.ACCESS_CD = 'N' AND F1.OPRID = F.OPRID AND F1.INSTITUTION = A.INSTITUTION AND F1.ACAD_PLAN = E.ACAD_PLAN)

  • Related Language Record: LNUPDPLNSCTYLNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRCLASS Character(30) VARCHAR2(30) NOT NULL Operator Class
    2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Prompt Table: PEOPLE_SRCH

    3 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

    Default Value: OPR_DEF_TBL_CS.INSTITUTION

    Prompt Table: INSTITUTION_TBL

    4 AID_YEAR Character(4) VARCHAR2(4) NOT NULL Aid Year

    Default Value: OPR_DEF_TBL_CS.AID_YEAR

    Prompt Table: AID_YEAR_TBL

    5 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
    6 LOAN_TYPE Character(4) VARCHAR2(4) NOT NULL Loan Type Cd

    Prompt Table: LN_LOAN_TYPE_VW

    7 LN_APPL_SEQ Number(2,0) SMALLINT NOT NULL Loan Application Seq Num

    Prompt Table: LOAN_ORIGNATN

    8 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    9 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    10 NAME Character(50) VARCHAR2(50) NOT NULL Name
    11 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
    12 NATIONAL_ID_MSK Character(20) VARCHAR2(20) NOT NULL National ID
    13 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
    14 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
    15 ACCESS_CD Character(1) VARCHAR2(1) NOT NULL Access Code
    N=No Access
    Y=Read/Write Access