Académique Documents
Professionnel Documents
Culture Documents
1
Copyright (c) 2019, Oracle. All rights reserved. Oracle Confidential.
In this Document
Purpose
Troubleshooting Steps
1. OVERVIEW
2. COMMON CROSS-PRODUCT ISSUES
2.1. Stuck Transactions in the Inventory Table MTL_TRANSACTIONS_INTERFACE with ERROR_EXPLANATION
"ORACLE ERROR"
2.1.1. How to View the Transactions in the Application
2.2. NEGATIVE BALANCES NOT ALLOWED
3. RESOURCES
3.1. Debug/Profiles & Trace Files for Data Analysis
3.2. Diagnostics
3.3. Demos/White Papers/Webinars
3.4. Critical and Recommended Patch List (**Work in Progress**)
References
APPLIES TO:
PURPOSE
To provide assistance and guidance in the resolution for some common cross-product issues within Inventory and
Shipping.
TROUBLESHOOTING STEPS
1. OVERVIEW
The purpose of this note is to provide information to users about the best method of troubleshooting, diagnosing and
resolving cross-product issues within Inventory and Shipping.
For troubleshooting guidelines from the shipping perspective please see the shipping FAQ Note 863761.1
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=mh9dhtg15_119&id=837777.1 1/5
6/17/2019 Document 837777.1
Oracle Error is a generic error which can sometimes be seen in the Error Explanation column or in a debug log. Most of the
time, this indicates that the transactions are duplicates.
To find and resolve Duplicate Sales Order Issue Transactions, please review the following note: Note 1472074.1 -
Inventory Standard Datafix Instruction #17: Fixing Duplicate Sales Order Transactions In MTI, MMTT and MMT
Note: Transactions stuck in the table MTL_TRANSACTIONS_INTERFACE will not prevent the period from closing,
unless they are sales order issue transactions which are associated with Unprocessed Shipping transactions.
Details of interface transactions can be viewed through the application by navigating to the Transaction Open Interface
form:
There can be many problems which will cause the Negative Balances Not Allowed Error.
One reason for negative balances is that there was sufficient quantity on hand and transactable when the order was pick
released and the delivery details were staged, but since that time somehow the quantity in the Staging Subinventory was
reduced. This can happen when the items that were staged are not reservable. Recommended fix: make the items
reservable, and create reservations for these items when the sales order is entered.
A. Possibles Causes:
Many customers confuse the Onhand Quantity and the Available Quantity. The available quantity is the Onhand less
any reservations, allocations, and any pending transactions for the item. As such, the first thing you should do is to
verify the available Quantity. There are several methods to do this. One is to use the script onhand.sql from Note
268974.1 - To Review The Stock Picture For an Item in a Given Organization / Subinventory.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=mh9dhtg15_119&id=837777.1 2/5
6/17/2019 Document 837777.1
Itemqty.sql Output
==================
Quantity on hand100
Quantity res oh100
Quantity res 0
Quantity sug 0
Quantity ATT100
Quantity ATR100
From the above output, you will see the onhand on the 1st line, the quantity reserved on the 3rd line. The quantity
suggested (allocations or pending transactions) on the 4th line, the available to transact(ATT) on the 5th line and the
available to reserve(ATR) on the 6th line.
If the ATT is not large than the transaction quantity on the pending transaction, then the Negative Balances error will
be received.
This could be legitimate and you may not have enough available to transact. If so, then you will need to do a receipt
to increase the available quantity.
2. Outstanding Reservations
Itemqty.sql Output
==================
Quantity on hand100
Quantity res oh100
Quantity res
Quantity sug 0
Quantity ATT100
Quantity ATR100
If you see the Quantity reserved (QR) and you believe you have incorrect reservation records, that is reservations
from closed or cancelled sales orders, then you should run the appropriate script provided by development as
outlined in Note 1322105.1 (Old Note 199887.1) - i2471362.sql - Remove old reservations. See the note for more
details about the datafix and root-cause patches by version.
3. Pending Transactions
Itemqty.sql Output
==================
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=mh9dhtg15_119&id=837777.1 3/5
6/17/2019 Document 837777.1
qr quantity reserved
qs quantity suggested
att available to transact
atr available to reserve
Quantity on hand100
Quantity res oh100
Quantity res 0
Quantity sug 25
Quantity ATT100
Quantity ATR100
If you see the Quantity suggested (QS) has a value, then there are pending transactions in
mtl_material_transactions_temp which would need to be investigated and resolved. Please note that the quantity for
pending transactions is held by the code so that those transactions can process. A common type of pending
transaction which will show up here is Move Order Allocation records.
If the ATT is present but ATR is 0, this could indicate that the subinventory or item is not reservable. Please verify
the subinventory and item setup.
Cost group issues can also produce Negative Balances Not allowed errors. Please verify the cost group setup
using Note 367511.1 - Fix for Cost Group ID when Negative Balances Not Allowed Error.
Navigate to Move Orders -> Transact Move Orders and query the move orders for the item involved. Then
either Transact the move order or if you do not want to at this time, then you can do Tools -> Cancel
Allocations.
If the move order is not available to transact in the Transact Move Order form, then it is likely that the move
order line status is already closed. (This would have a status of 5 in mtl_txn_request_lines.) In this case, the
correct clean up script (INVCLRMO.sql or INVCLRMOv115.5.sql) would need to be run. This is detailed in Note
169677.1 - How to Clean Corrupt (Orphan) Move Order Records From the Database.
There is also the possibility that the move orders have a status of Cancelled by Source. This would have a
status of 9 in mtl_txn_request_lines. Please review Note 396523.1 - Stuck Pending Move Order Transactions
(MMTT) / Available Shows Zero Because Records Are Stuck In MMTT, Move Order Cancelled By Source in
Transact Move Order (INVTOTRX) Form. In some cases these allocations can be fixed via the form. In other
cases a bug will need to be logged to get development permission to use the script
cancel_source_allocation.sql.
3. RESOURCES
3.2. Diagnostics
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=mh9dhtg15_119&id=837777.1 4/5
6/17/2019 Document 837777.1
Note 463601.1 - Inventory Organization Data Collection Setup Test for a specific organization (for WMS).
Note 228600.1 - WMS LPN Diagnostic, use Attachment File WMSCheckLPN.sql
Note 418492.1 - How to Process Standard Sales Orders in Order Management for Application Release 11.5.10
WMS TOI - http://logistics.us.oracle.com/collat/toi/index.html has the demos and white papers
Note 262979.1 - Unprocessed Shipping Transactions Troubleshooting Techniques
Note 430528.1 - How To Use the HTMomse11i Output To Resolve Pending Sales and Move Order Transactions
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=mh9dhtg15_119&id=837777.1 5/5