API for applying pro-rated Freight Charges to multiple sales order lines?
Hello All,
We have a requirement to apply/update freight charges on sales order lines via plsql code. We achieved updating the freight charge for a single sales order line by using OE_ORDER_PUB.Process_Order API.
Is there any other API available for applying one consolidated/pro-rated freight charge to multiple sales order lines (i.e. based on the shipped quantity, price, delivery etc. API will internally divide the freight charge for the SO line and apply to each line) or the only option available would be to write custom logic to divide the freight charge amount (logically) and send it to oe_order_pub.process_order API for each line. Please advice.