How to retrive the transfer order details, with the sales order number in Sterling OMS?

783 views Asked by At

I've a requirement where in, I need to get all the transfer orders, that has been associated with the sales order.

Is there any api / attribute in getOrderDetails API that has transfer order number or TransferOrderHeaderKey ?

In the input, I've both sales order number and orderHeaderKey.

2

There are 2 answers

0
ActiveKite.com On

Using below input you would be able to get all the transfer orders by invoking getOrderList api

<Order DocumentType="0006">

<OrderLine ChainedFromOrderHeaderKey="<SalesOrderHeaderKey>"/>

</Order>
0
GabOny On

You should be able to use getOrderList call with a combination of documentType for Transfer Order and Derived_from_chained_order_header_key