EM_BSAGR_OPRVW

(SQL View)
Index Back

Supplier Agreemt prompt

This view is used the Prepayment Invoice add page to limit suppliers that have an agreement with the buyer (in the BSP model).

SELECT DISTINCT SEC.OPRID , AG.SETID , V.VENDOR_ID , V.NAME1 FROM PS_EM_AGREEMENT AG , PS_SEC_BU_OPR SEC , PS_VENDOR V WHERE SEC.BUSINESS_UNIT = AG.SETID AND V.SETID = AG.VENDOR_SETID AND V.VENDOR_ID = AG.VENDOR_ID AND V.VENDOR_STATUS = 'A' AND AG.EM_AGREE_BUYER='Y' AND AG.EM_AGREE_SELLER='Y' AND %Sql(EM_SET_CNTRL_EXISTS)

  • Related Language Record: EM_BSAGR_OPRLNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    3 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
    4 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1