SAD_BPV_CONS_VW

(SQL View)
Index Back

BPV Contract Selection

FS 11062004

SELECT A.EXT_ORG_ID , A.ORG_LOCATION , A.HEGIS_CODE , A.SAD_INT_CONTR_NLD , A.STRM , A.SAD_NAT_ORGCTR_NLD , A.DESCR50 , A.START_DATE , A.END_DATE , A.SAD_INTSHP_APP_NLD , A.INSTRUCTOR_ID , A.ORG_CONTACT , A.SAD_ORG_CONTA2_NLD , A.SAD_ORG_LOC_ML_NLD , A.SAD_NATORG_ID_NLD , A.SAD_CONTR_LNGT_NLD , A.SAD_WEEK_HRS_NLD , A.MAX_STUDENTS , A.SAD_PLAN_SEL_NLD , A.SAD_ACCR_ONLY_NLD , A.SAD_EO_ID_DET_NLD , A.SAD_ORGLC_DTL_NLD , C.OPRID , A.DESCRLONG FROM PS_SAD_BPV_CTR_NLD A , PS_SAD_BPV_ORG_NLD B , PS_SCRTY_TBL_ACAD C , PS_EXT_ORG_TBL D WHERE A.EXT_ORG_ID = D.EXT_ORG_ID AND D.EFFDT = ( SELECT MAX(D_ED.EFFDT) FROM PS_EXT_ORG_TBL D_ED WHERE D.EXT_ORG_ID = D_ED.EXT_ORG_ID AND D_ED.EFFDT <= %CurrentDateIn) AND B.EXT_ORG_ID = D.EXT_ORG_ID AND C.ACCESS_CD='Y' AND EXISTS ( SELECT 'X' FROM PSTREENODE E WHERE E.SETID=' ' AND E.TREE_NAME='ACAD_ORGANIZATION' AND E.EFFDT=C.TREE_EFFDT AND E.TREE_NODE=B.ACAD_ORG AND E.TREE_NODE_NUM BETWEEN C.TREE_NODE_NUM AND C.TREE_NODE_NUM_END AND NOT EXISTS ( SELECT 'X' FROM PS_SCRTY_TBL_ACAD G WHERE C.OPRID=G.OPRID AND C.TREE_NODE_NUM<>G.TREE_NODE_NUM AND E.TREE_NODE_NUM BETWEEN G.TREE_NODE_NUM AND G.TREE_NODE_NUM_END AND G.TREE_NODE_NUM BETWEEN C.TREE_NODE_NUM AND C.TREE_NODE_NUM_END))

  • Related Language Record: SADBPVCONSVWLNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID

    Prompt Table: EXT_ORG_TBL

    2 ORG_LOCATION Number(3,0) SMALLINT NOT NULL Location Nbr

    Prompt Table: SAD_BPV_ORGL_SR

    3 HEGIS_CODE Character(8) VARCHAR2(8) NOT NULL HEGIS Code

    Prompt Table: %EDITTABLE

    4 SAD_INT_CONTR_NLD Character(16) VARCHAR2(16) NOT NULL Internal contract

    Default Value: NEW

    5 STRM Character(4) VARCHAR2(4) NOT NULL Term

    Prompt Table: TERM_VAL_TBL

    6 SAD_NAT_ORGCTR_NLD Character(40) VARCHAR2(40) NOT NULL External Contract field augmented to 40 positions

    Default Value: NEW

    7 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
    8 START_DATE Date(10) DATE NOT NULL Start Date for Gen Standing PO
    9 END_DATE Date(10) DATE NOT NULL End Date
    10 SAD_INTSHP_APP_NLD Character(2) VARCHAR2(2) NOT NULL Approved by nat. organization
    AC=Accredited
    IC=In consideration
    NA=Not accredited
    NM=Nominated
    RQ=AccreditationRequested
    11 INSTRUCTOR_ID Character(11) VARCHAR2(11) NOT NULL Instructor ID

    Prompt Table: SAD_INSTRUCT_VW

    12 ORG_CONTACT Number(4,0) SMALLINT NOT NULL Contact Nbr

    Prompt Table: SAD_BPV_ORG_LVW

    13 SAD_ORG_CONTA2_NLD Number(4,0) SMALLINT NOT NULL Contact nbr 2

    Prompt Table: SAD_BPV_ORG_LVW

    14 SAD_ORG_LOC_ML_NLD Number(3,0) SMALLINT NOT NULL Location number

    Prompt Table: ORG_LOCATION

    15 SAD_NATORG_ID_NLD Character(11) VARCHAR2(11) NOT NULL National organization

    Prompt Table: SAD_LO_VW

    16 SAD_CONTR_LNGT_NLD Number(3,0) SMALLINT NOT NULL Contract length in weeks
    17 SAD_WEEK_HRS_NLD Number(2,0) SMALLINT NOT NULL Number of hours per week
    18 MAX_STUDENTS Number(3,0) SMALLINT NOT NULL Maximum Nbr of Students
    19 SAD_PLAN_SEL_NLD Character(1) VARCHAR2(1) NOT NULL Plan
    A=All
    B=BBL
    O=BOL
    20 SAD_ACCR_ONLY_NLD Character(1) VARCHAR2(1) NOT NULL Accredited
    21 SAD_EO_ID_DET_NLD Character(11) VARCHAR2(11) NOT NULL Outsourcing company

    Prompt Table: SAD_BPV_ORG_SRC

    22 SAD_ORGLC_DTL_NLD Number(3,0) SMALLINT NOT NULL Outsourcing location

    Prompt Table: SAD_DET_LOV_VW

    23 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    24 DESCRLONG Long Character CLOB Long Description