PDF Export

getPurchaseOrders

Returns a list of all purchase orders of a customer. The customer has to be the invoice receiver or optionally the consignee.

  • Object: /net/dsb/vhs3/PurchaseOrder
  • Method: getPurchaseOrders
  • Version: 1.0.0

Parameter

Name Type / LenghtOpt. / MandatDescription
bp-number N / 10 M Business Partner Number.
include-delivery-only B K Return also purchase-orders where the business-partner has the role “consignee”. Default value is “false”.
from-purchase-order-dateD K Reduce the result, so that purchase orders before that date are not returned. Format YYYY-MM-DD
to-purchase-order-date D K Reduce the result, so that purchase orders after that date are not returned. Format YYYY-MM-DD

Response Element

XML fragment purchase-order-extract

Example Request

<?xml version="1.0" encoding="UTF-8"?>
<message version="1.0" system="vhs/3" >
  <header>
    <client>4711</client>
    <service-provider>999</service-provider>
  </header>
  <body>
    <bp-number>12345</bp-number>
  </body>
</message>

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<message version="1.0" system="vhs/3">
  <header>
    <client>4711</client>
    <service-provider>999</service-provider>
  </header>
  <body>
      <!--o to n -->
    <purchase-order-extract>
    </purchase-order-extract>
    ...
    <purchase-order-extract>
    </purchase-order-extract>
  </body>
</message>

Response Structure

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information