Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039758
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advance Warehouse Operationsmajoralways2018-12-04 15:302018-12-05 10:38
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
Summary

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
(0108267)
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.warehouse.advancedwarehouseoperations.mobile.processors.ReceptionListProcessor.exec(ReceptionListProcessor.java:66)
    at org.openbravo.warehouse.advancedwarehouseoperations.mobile.sync.TaskLoader.saveRecord(TaskLoader.java:36)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:200)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:154)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:86)
    at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:53)
    at org.openbravo.warehouse.advancedwarehouseoperations.mobile.sync.TaskImportEntryProcessor$TaskLoaderRunnable.processEntry(TaskImportEntryProcessor.java:48)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:367)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:288)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
    at java.lang.Thread.run(Thread.java:748)
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(Utilities.java:113)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.InternalMovementGenerator.processTransactionDocument(InternalMovementGenerator.java:119)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.InternalMovementGenerator.processTransactionDocument(InternalMovementGenerator.java:42)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.TransactionDocGenerator.processTransactionDocumentIfNotNull(TransactionDocGenerator.java:81)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.GroupOfTasksConfirmator.addTasksToTransactionDocLinesAndProcessIt(GroupOfTasksConfirmator.java:219)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.GroupOfTasksConfirmator.processGroupOfTasks(GroupOfTasksConfirmator.java:119)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.GroupOfTasksConfirmator.processGroupOfTasksDocument(GroupOfTasksConfirmator.java:99)
    at org.openbravo.warehouse.advancedwarehouseoperations.centralbroker.CentralBroker.processGroupOfTasks(CentralBroker.java:239)
    at org.openbravo.warehouse.advancedwarehouseoperations.mobile.processors.ReceptionListProcessor.exec(ReceptionListProcessor.java:44)
    ... 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker