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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040820
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advanced Warehouse Operationsmajoralways2019-05-09 12:582019-05-24 11:29
ReporterdmiguelezView Statuspublic 
Assigned Tononofrancisco 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix 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 ToSandrahuguet
Regression introduced in release
Summary

0040820: Performance problems when auto-confirming hundreds of Box Tasks in Functional Area

DescriptionPerformance problems when auto-confirming hundreds of Box Tasks in Functional Area
Steps To ReproduceLog 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 SolutionThis 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)) {
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0040759 newTriage Omni WMS Performance problems when auto-confirming hundreds of Box Tasks 

-  Notes
(0112119)
hgbot (developer)
2019-05-24 11:28

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: ec316821859325b1c524f0a5d5d7ab30644c1585
Author: Nono Carballo <nonofce <at> gmail.com>
Date: Tue May 21 17:06:51 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/ec316821859325b1c524f0a5d5d7ab30644c1585 [^]

Fix for issue 40820: Avoid logs to improve performance

Avoids log creation in flows where it is not necessary.

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/occupancy/OccupancyCalculator.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/occupancy/OccupancyUtils.java
---
(0112120)
Sandrahuguet (developer)
2019-05-24 11:29

code review + testing ok

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker