Cannot correct Inventory (MA) Message IMPROVEMENT

Description

envirnment: warehouse - setup disallow negative quantity on.

use case:
user create an order for 20 items. for example on line 140 th product ABC is on wrong location (so the system cant find on complete) or not enough qty ond line 180 - product XYZ.

when user complete document i.e. credit order - then system starts generate documents in workflow but cant complete it because above issues.

startard error message appear (adempiere/idempiere):
Cannot correct Inventory (MA) - NegativeInventoryDisallowed

STOPPER HERE:
user has no chance to trace where is the problem. at this moment only log says - so admin can identify where is the problem.

SUGGESTED SOLUTION:
change error message to more explanable and make it iterative behind.

so if first item found with error, then message appear: NegativeInventoryDisallowed: Product ABC line 140 (wrong location), Product ZYZ line 180 (inv. not available)

user identify cuase/root of problem then go back to complete, then again try complete etc.

Without this improvement disallow qty unusable.

Environment

shipment

Activity

Show:

Carlos Ruiz December 23, 2019 at 10:33 PM

Norbert Bede June 4, 2013 at 4:32 PM

nice will test it. also it is important for inventory moves, RMA's. please extend it for that.

Carlos Ruiz June 1, 2013 at 11:17 PM

Thanks Norbert, not as extensive as you want, but at least now error message is including the product code which must be a good clue for the user:
https://bitbucket.org/idempiere/idempiere/commits/e202d25

Fixed

Details

Assignee

Reporter

Priority

Created June 1, 2013 at 12:03 PM
Updated February 1, 2020 at 1:40 PM
Resolved December 23, 2019 at 10:33 PM