PDF Export

getPurchaseOrdersByClient

Returns a list of all purchase orders of a customer. The customer has to be the invoice receiver or optionally the consignee. This method returns all purchase orders which exist in the given client list.

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

Parameter

Name Type / LenghtOpt. / Mandat.Description
bp-number N / 10 M Business Partner Number.
client-list
- client
AN / 4 M Return also purchase-orders where the business-partner has the role consignee. Default value is “false”.
include-delivery-only B K Return also purchase-orders where the business-partner has the role consignee. Default value is “false”.
from-purchase-order-date D 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 (see section 3.9).

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>
    <client-list>
      <client>1234</client>
      <client>4321</client>
    </client-list>
  </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