Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advance Warehouse Operationsmajoralways2018-12-04 15:302019-02-13 12:56
Reportermaarten1962View Statuspublic 
Assigned Toguilleaer 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release

0039758: 18Q3.2: DO-Issue of Box with multiple products fails with "XXX Referenced Inventory is also located in bin BBB"

DescriptionDO-Issue of Box with multiple products fails with "XXX Referenced Inventory is also located in bin BBB"

When "Issue" is initiated, there are 2 (or more) tasks. So far so good.
On Confirm (from Front-End, as group) the system executes the 1st task-confirm and at that point the RI exists in the to-bin.
As the 2nd task is not confirmed yet, the RI also exists in the From-Bin!

So during a split-second, the RI "exists" in 2 places, something that is not physically posible.

If this is indeed the cause, than I think it will also happen with the DO-Receipt.
Steps To ReproduceCreate DO with 2 or more products; Pick; Box all products to the same RI.
Press "Issue" in the window Distribution Order Issue" and assign tasks to Openbravo (any front-end user).
The error message will appear, see attached image.

Proposed SolutionDO-issue and DO-receipt confirmations should be treated as a group (db commit as group?) to avoid intermediate situation where a RI 'exists' in two places.

TagsNo tags attached.
Attached Filespng file icon RIex3_error.png [^] (76,091 bytes) 2018-12-04 15:30

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
vmromanos (manager)
2018-12-05 10:26

The issue is ONLY reproducible in FE.
When confirming the issue list directly in the BE it works properly.

Stacktrace when confirming in FE (from Errors while processing tasks window):

org.openbravo.base.exception.OBException: Unexpected exception processing grouped task: Error processing Goods Movement process: RT001 referenced inventory is also located in bin: DOCK
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(
    at org.openbravo.service.importprocess.ImportEntryProcessor$
    at java.util.concurrent.Executors$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
Caused by: org.openbravo.base.exception.OBException: Error processing Goods Movement process: RT001 referenced inventory is also located in bin: DOCK
    at org.openbravo.warehouse.advancedwarehouseoperations.utils.Utilities.processGoodsMovement(
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.InternalMovementGenerator.processTransactionDocument(
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.InternalMovementGenerator.processTransactionDocument(
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.TransactionDocGenerator.processTransactionDocumentIfNotNull(
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.GroupOfTasksConfirmator.addTasksToTransactionDocLinesAndProcessIt(
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.GroupOfTasksConfirmator.processGroupOfTasks(
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.GroupOfTasksConfirmator.processGroupOfTasksDocument(
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.CentralBroker.processGroupOfTasks(
    ... 13 more

- Issue History
Date Modified Username Field Change
2018-12-04 15:30 maarten1962 New Issue
2018-12-04 15:30 maarten1962 Assigned To => Triage Finance
2018-12-04 15:30 maarten1962 File Added: RIex3_error.png
2018-12-05 10:26 vmromanos Note Added: 0108267
2018-12-05 10:27 vmromanos Assigned To Triage Finance => guilleaer
2019-01-30 17:12 RenateNieuwkoop Issue Monitored: RenateNieuwkoop

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker