OE_ORDER_PUB.PROCESS_ORDER API is not accepting the reference_header_id and reference_line_id i
We are trying to invoke process_order API in R12 to create a return order. We want to populate OE_ORDER_LINES_ALL.reference_header_id and OE_ORDER_LINES_ALL.reference_line_id with the forward order header and line id respectively. When we pass reference_type as ORDER and reference_header_id and reference_line_id to process_orderAPI, it is not getting accepted ( Order gets created without reference_header_id and reference line id)
Please advise.
Thanks & Regards,
Arun