Hi, I would like to know how to use API to backorder the Staged/Pick Confirm order lines.
we have a project to automate the cancellation of sales order lines regardless the status, and we are manage to find out these:
for order status=entered, pending approval, booked
we can use 'OE_ORDER_PUB.PROCESS_ORDER' to cancel the lines.
if the order status=released,
then we need to use 'inv_mo_backorder_pvt.backorder' to backorder the line, and thus 'OE_ORDER_PUB.PROCESS_ORDER' to cancel the lines.
however, if the order status=Staged/Pick Confirm, what can we do?
i tried wsh_deliveries_pub.delivery_action using p_action_code => 'CONFIRM', and p_sc_action_flag => 'B', but is not working.
any examples that i can refer to?