EM_VCHR_SRCH_LG

(SQL View)
Index Back

EBPP Voucher Approval Search

This SQL view was cloned from the voucher search record. The voucher search record did not implement any kind of row-level security. This new search record (SQL view) joins to the User BU Permissions table ( ), and only returns appropriate rows. This table is used to control MarketPay Voucher Approval pages. RSR MarketPay Development

SELECT DISTINCT a.business_unit , c.oprid , a.voucher_id , bl.language_cd , bl.vendor_name_short , bl.name1 FROM PS_VOUCHER a , ps_vendor b , ps_vendor_lang bl , ps_sec_bu_opr c WHERE a.vendor_setid = b.setid AND a.vendor_id = b.vendor_id AND b.setid = bl.setid AND b.vendor_id = bl.vendor_id AND a.business_unit = c.business_unit

  • Related Language Record for EM_VCHR_SRCH
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

    Prompt Table: SP_BU_AP_NONVW

    2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    3 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID

    Default Value: NEXT

    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
    6 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1