Sales Order Line Not Inserting via OE_ORDER_PUB.PROCESS_ORDER API — Header Inserts Successfully
Hello,
We are using the OE_ORDER_PUB.PROCESS_ORDER
API to insert Sales Order Header and Lines programmatically from Oracle APEX. The Sales Order Header is created successfully, but the Line is not being inserted, and no error message is returned.
We have already ensured the following:
fnd_global.apps_initialize
is called with a validuser_id = 2701
, and works correctly for the header.MO_GLOBAL.INIT('ONT')
andMO_GLOBAL.SET_POLICY_CONTEXT('S', 82)
are correctly used.- Initialization is confirmed to be correct because header creation works as expected.
inventory_item_id = 84614
andship_from_org_id = 369
are valid.