Openbravo Issue Tracking System - Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0040820 | Modules | Advanced Warehouse Operations | public | 2019-05-09 12:58 | 2019-05-24 11:29 | |||||||
Reporter | dmiguelez | |||||||||||
Assigned To | nonofrancisco | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | Sandrahuguet | |||||||||||
Support ticket | ||||||||||||
OBNetwork customer | ||||||||||||
Regression introduced in release | ||||||||||||
Summary | 0040820: Performance problems when auto-confirming hundreds of Box Tasks in Functional Area | |||||||||||
Description | Performance problems when auto-confirming hundreds of Box Tasks in Functional Area | |||||||||||
Steps To Reproduce | Log in as AWO QA Admin Go to Warehouse Definition window and select West Coast Warehouse Go to Internal Routing Area Tab and set all areas as Functional = 'Y' Apply the attached patch in AWO module and launch the new AWOzzri_HighVolumeRI test case. For 800 Products it takes 1000 seconds | |||||||||||
Proposed Solution | This diff is not final, just a guide to the possible solution: diff --git a/src/org/openbravo/warehouse/advancedwarehouseoperations/occupancy/OccupancyCalculator.java b/src/org/openbravo/warehouse/advancedwarehouseoperations/occupancy/OccupancyCalculator.java --- a/src/org/openbravo/warehouse/advancedwarehouseoperations/occupancy/OccupancyCalculator.java +++ b/src/org/openbravo/warehouse/advancedwarehouseoperations/occupancy/OccupancyCalculator.java @@ -70,9 +70,11 @@ // organization final Locator locator = getLocator(); OBDal.getInstance().refresh(locator); // To get last object in DB after triggers execution + if (locator.getOBAWOLocatorGroup().getInternalRoutingArea().isFunctional()) { + return success; + } AWOLoggerForProcessUtil.logEmptyLine(log); - AWOLoggerForProcessUtil.logInfo(log, - AWOLoggerForProcessUtil.IDENTATION_LEVEL_GENERAL_PROCESS, + AWOLoggerForProcessUtil.logInfo(log, AWOLoggerForProcessUtil.IDENTATION_LEVEL_GENERAL_PROCESS, "Started calculation of occupancy for storage bin '%s'", locator.getIdentifier()); if (!OccupancyUtils.isLocatorConfiguredForOccupancy(locatorId)) { | |||||||||||
Additional Information | ||||||||||||
Tags | Performance | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-05-09 12:58 | dmiguelez | New Issue | ||||||||||
2019-05-09 12:58 | dmiguelez | Assigned To | => Triage Finance | |||||||||
2019-05-09 13:36 | Sandrahuguet | Assigned To | Triage Finance => nonofrancisco | |||||||||
2019-05-15 10:44 | dmitry_mezentsev | Relationship added | related to 0040759 | |||||||||
2019-05-16 23:51 | nonofrancisco | Status | new => scheduled | |||||||||
2019-05-21 15:46 | Sandrahuguet | Tag Attached: Performance | ||||||||||
2019-05-24 11:28 | hgbot | Checkin | ||||||||||
2019-05-24 11:28 | hgbot | Note Added: 0112119 | ||||||||||
2019-05-24 11:28 | Sandrahuguet | Status | scheduled => resolved | |||||||||
2019-05-24 11:28 | Sandrahuguet | Resolution | open => fixed | |||||||||
2019-05-24 11:29 | Sandrahuguet | Review Assigned To | => Sandrahuguet | |||||||||
2019-05-24 11:29 | Sandrahuguet | Note Added: 0112120 | ||||||||||
2019-05-24 11:29 | Sandrahuguet | Status | resolved => closed | |||||||||
2022-09-06 17:18 | caristu | Category | Advance Warehouse Operations => Advanced Warehouse Operations |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|