IBM Support

How to Find Purchase Order Number from a Sales Order Number and vice versa?

Question & Answer


Question

How to Find Purchase Order Number from a Sales Order Number and vice versa?

Answer


One can use getOrderDetails API for the PO and get the SO header key.

The header key of the sales order would be returned as Order\OrderLines\OrderLine\@ChaninedFromOrderHeaderKey. One can get the ChainedFromOrderLineKey as well.

One can use getOrderLineList API for the SO and get the PO header key.
<OrderLine ChainedFromOrderHeaderKey=""/>

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

HTG3013

Document Information

Modified date:
16 June 2018

UID

swg21563782