INV_MO_LINE_DETAIL_UTIL.reduce_allocation_quantity (API is not working)
Experts- Please help in me in reducing the allocated quantity on the move order -
1. This sale order has been released & move order is pre-approved with quantity allocated quantity on the move order & MTL_MATERIAL_TRANSACTIONS_TEMP.
2. From the move order form I have the ability to update the allocation but I wan to update through API
3. I am using below API it's reducing the allocated quantity on the move order but parallelly it's deleting the records from MTL_MATERIAL_TRANSACTIONS_TEMP.
DECLARE
x_return_status VARCHAR2(4000);
p_secondary_quantity NUMBER;
p_quantity NUMBER;
p_transaction_temp_id NUMBER;
BEGIN
inv_mo_line_detail_util