API INV_REPLENISH_DETAIL_PUB.Delete_Details - Deletes Allocations But Does NOT Change Move Order Allocation Quantity
(Doc ID 1346196.1)
Last updated on OCTOBER 28, 2024
Applies to:
Oracle Inventory Management - Version 12.1.3 and laterInformation in this document applies to any platform.
API:INV_REPLENISH_DETAIL_PUB.Delete_Details: INVTOTXB.pls
Symptoms
The API INV_REPLENISH_DETAIL_PUB.Delete_Details will unaollocate the move order by removing pending transactions but the API is NOT updating the allocated quantity (MTL_TXN_REQUEST_LINES.quantity_detailed).
Expected Behavior
Expect that the API (INV_REPLENISH_DETAIL_PUB.Delete_Details) would remove allocations and set the allocated quantity to zero.
What is working
Cancelling allocations on the Transact Move Order form correctly removes allocations and sets the allocated quantity to zero.
Steps:
The following steps show the API vs. Form. The steps work correctly in the form but the API does not clear the allocated quantity.
A. Working In Form
- Navigate to Inventory > Move Orders > Move Orders
- Create and approve a move order
- Navigate to Inventory > Move Orders > Transact Move Orders
- Allocate the move order
- Select the move order line.
- Choose Tools > Cancel Allocations
- The allocation is removed and quantity allocated goes to zero.
B. API Call
- Navigate to Inventory > Move Orders > Move Orders
- Create and approve a move order
- Navigate to Inventory > Move Orders > Transact Move Orders
- Allocate the move order
- In SQL, run the API (INV_REPLENISH_DETAIL_PUB.Delete_Details).
- Commit.
- The allocation is removed BUT the quantity allocated is unchanged.
Sample API Call
Download a sample of the API call from the Note here - SampleAPI.sql.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
Example |
References |