Error: "You have exceeded the transaction quantity"
A guide to resolving quantity precision errors in Oracle R12 Receiving.
When performing receiving transactions in Oracle E-Business Suite R12, particularly with lot-based items that require high precision quantities, users may encounter the error "You have exceeded the transaction quantity". This guide explains the symptoms, cause, and solution for this issue.
Symptoms
Error Message
You have exceeded the transaction quantity
Internal error message: INV_QUANTITY_TOO_BIG
Affected Forms
This issue typically occurs in the following Oracle Forms:
- RCVRCERC.FMB - Enter Receipts GUI
- RCVTXERT.FMB - Enter Receiving Transactions GUI
- RCVTXERE.FMB - Enter Returns GUI
- RCVTXECO.FMB - Enter Corrections GUI
Steps to Reproduce
- Go to the Receiving Screen.
- Enter a quantity with high decimal precision, e.g., 7200.00000489 (which the system might round to 7200.000005 due to a 6-digit restriction).
- Go to the Lot/Serial form.
- Enter the lot number and a quantity that, after rounding to 5 decimal places (e.g., 7200.00001), is different from the receiving quantity.
- The error message 'You have exceeded the transaction quantity' appears.
Cause
The root cause of this error is a discrepancy in how decimal precision for quantities is handled between different parts of the application.
- The receiving forms were enhanced to support quantity precision up to 6 decimal places.
- However, the core Inventory module's lot-entry form still only supported 5 decimal places.
- The system compares the transaction quantity from the receiving form and the lot quantity from the lot-entry form after rounding them both to 5 decimal places. If the initial quantity had more than 5 decimal places, this rounding could cause a mismatch, leading to the error.
Solution
Apply Patch 5880504
To resolve this inconsistency, Oracle has provided a patch. Follow these steps carefully.
- 1Download and review the readme for Patch 5880504.
- 2Apply Patch 5880504 on a non-Production (test) instance first.
- 3Confirm the file versions are updated as listed below.
- 4Retest the issue to ensure it is resolved.
- 5If resolved, migrate the solution to other instances as appropriate.
File Versions to Confirm
- $AU_TOP/resource/RCVRCERL.plx 115.157.11510.45
- $AU_TOP/resource/RCVTXECO.plx 115.67.11510.20
- $AU_TOP/resource/RCVTXERT.plx 115.110.11510.22
- $PO_TOp/forms/US/RCVTXERE.fmb 115.79.11510.9
You can use commands like the following to check file versions:
strings -a $AU_TOP/resource/RCVRCERL.plx | grep 'Header:'
References
- BUG:6000073 - RECEIVING, INVENTORY, AND PO SHOULD ALL SUPPORT 15 DECIMAL PRECISION
- BUG:7626008 - DECIMAL POSITIONS NOT CONSISTENT ON RCV FORMS; CANNOT RETURN SMALL QTY
- BUG:5880504 - ON-DEMAND: OUT TO 9-10 DECIMAL PLACES, RECEIVING TRANSACTIONS ROUNDING ONLY TO 5