Create Manual Adjustment via OE_ORDER_PUB
Trying to create a OM Sales Order using OE_ORDER_PUB.process_order API. (R12 - 12.1.0.2.0)
When creating Order with selling price different from List price, the orders are created successfully but no (manual) adjustments are created, unlike in the case with similar order created online via Order entry screen.
This causes the sales prices to switch back to list price when freight charges are added at shipment. A few of our orders are shipped via third party shipper integration which invariably inserts a ($0) freight charge which causes lines to switch to list price at time of shipment.
I'm not sure why the API doesn't automatically creates the manual adjustments in cases when the list price is different from unit price (like it does from order entry screen)? Does it need any extra flags or inputs?