Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032504 | Openbravo ERP | 04. Warehouse management | public | 2016-03-18 11:14 | 2016-06-28 16:43 |
|
Reporter | VictorVillar | |
Assigned To | aferraz | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR16Q3 | Fixed in Version | 3.0PR16Q3 | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0032504: Huge performance problem in the costing background process and using the Negative stock correction too |
Description | Huge performance problem in the costing background process and using the Negative stock correction too |
Steps To Reproduce | Huge performance problem in the costing background process and using the Negative stock correction too |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | defect | 0032703 | 3.0PR16Q3 | closed | aferraz | API Change Request: Change cumqty column name in M_Costing table | related to | design defect | 0032493 | | closed | vmromanos | Pareto Product Report takes too long in an environment with big amount of data | related to | defect | 0033411 | 3.0PR17Q1 | closed | dmiguelez | Bad performance Costing Background process using 3 types of adjustments | related to | defect | 0035959 | | closed | markmm82 | Performance problem in Costing Migration Process with high volume of records in m_transaction table | blocks | feature request | 0032676 | | new | Triage Omni WMS | It would be nice to have a process to calculate old cumqty values in m_coting table | causes | defect | 0033391 | 3.0PR16Q4 | closed | dmiguelez | Not possible to launch the costing background process because manual costing registers | causes | defect | 0033968 | 3.0PR17Q1 | closed | dmiguelez | Wrong costs calculated with Backdated Transactions |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-03-18 11:14 | VictorVillar | New Issue | |
2016-03-18 11:14 | VictorVillar | Assigned To | => Triage Finance |
2016-03-18 11:14 | VictorVillar | Modules | => Core |
2016-03-18 11:14 | VictorVillar | Resolution time | => 1458860400 |
2016-03-18 11:14 | VictorVillar | Triggers an Emergency Pack | => No |
2016-03-18 11:23 | aferraz | Status | new => scheduled |
2016-03-18 11:23 | aferraz | Assigned To | Triage Finance => aferraz |
2016-03-29 11:14 | VictorVillar | Resolution time | 1458860400 => 1460066400 |
2016-04-15 11:18 | aferraz | Relationship added | blocks 0032676 |
2016-04-19 10:24 | aferraz | Relationship added | depends on 0032703 |
2016-04-19 14:45 | aferraz | Relationship added | related to 0032493 |
2016-04-20 21:01 | hgbot | Checkin | |
2016-04-20 21:01 | hgbot | Note Added: 0085800 | |
2016-04-20 21:01 | hgbot | Status | scheduled => resolved |
2016-04-20 21:01 | hgbot | Resolution | open => fixed |
2016-04-20 21:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5406f70dad91912646aa834dbe7b097e0d11f65e [^] |
2016-04-20 21:01 | hgbot | Checkin | |
2016-04-20 21:01 | hgbot | Note Added: 0085801 | |
2016-04-20 21:02 | hgbot | Checkin | |
2016-04-20 21:02 | hgbot | Note Added: 0085802 | |
2016-04-21 10:07 | dmiguelez | Review Assigned To | => dmiguelez |
2016-04-21 10:07 | dmiguelez | Note Added: 0085815 | |
2016-04-21 10:07 | dmiguelez | Status | resolved => closed |
2016-04-25 19:28 | hgbot | Checkin | |
2016-04-25 19:28 | hgbot | Note Added: 0085968 | |
2016-05-11 17:08 | hgbot | Checkin | |
2016-05-11 17:08 | hgbot | Note Added: 0086385 | |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087473 | |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087474 | |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087490 | |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087533 | |
2016-06-28 16:43 | aferraz | Fixed in Version | => 3.0PR16Q3 |
2016-06-28 16:43 | aferraz | Target Version | => 3.0PR16Q3 |
2016-07-20 11:25 | aferraz | Relationship added | related to 0033411 |
2016-08-20 11:43 | aferraz | Relationship added | causes 0033391 |
2016-09-16 13:32 | aferraz | Relationship added | causes 0033968 |
2017-05-09 12:30 | aferraz | Relationship added | related to 0035959 |
Notes |
|
(0085800)
|
hgbot
|
2016-04-20 21:01
|
|
Repository: erp/devel/pi
Changeset: 5406f70dad91912646aa834dbe7b097e0d11f65e
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Apr 18 17:42:14 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5406f70dad91912646aa834dbe7b097e0d11f65e [^]
Fixes issue 32504: Improve performance of Costing process
- Add new column cumcost in M_Costing table
- Make some queries in CostingUtils and CostAdjustmentUtils incremental using cumqty and cumcost from current m_costing record to avoid sum every record in m_transaction and m_transaction_cost tables.
- Avoid join m_transaction with m_locator if current costing rule has no warehouse dimension.
- Improve CostingServer checkCostAdjustments method to do query only if needed.
- Avoid count query in CostingBackground process.
- Add indexes in m_costing table: (m_product_id, datefrom, dateto) and (m_transaction_id).
- Change in AverageCostAdjustment: cost will be taken from trxPrice in case current stock is zero.
- Update cumqty column name to cumstock in M_Costing table to set it as NULL and delete it in F&B International Group and QA Testing clients sampledata.
- Assert new m_costing cumcost column in TestCosting.
---
M referencedata/sampledata/F_B_International_Group/M_COSTING.xml
M referencedata/sampledata/QA_Testing/M_COSTING.xml
M src-db/database/model/tables/M_COSTING.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-test/src/org/openbravo/test/costing/TestCosting.java
M src/org/openbravo/costing/AverageAlgorithm.java
M src/org/openbravo/costing/AverageCostAdjustment.java
M src/org/openbravo/costing/CostAdjustmentUtils.java
M src/org/openbravo/costing/CostingBackground.java
M src/org/openbravo/costing/CostingMigrationProcess.java
M src/org/openbravo/costing/CostingServer.java
M src/org/openbravo/costing/CostingUtils.java
M src/org/openbravo/costing/InventoryAmountUpdateProcess.java
---
|
|
|
(0085801)
|
hgbot
|
2016-04-20 21:01
|
|
|
|
(0085802)
|
hgbot
|
2016-04-20 21:02
|
|
Repository: erp/devel/api-checks
Changeset: 02dbd212f15bfe1a84f0d0ba3fcf44ab956de789
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Apr 20 21:00:35 2016 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/02dbd212f15bfe1a84f0d0ba3fcf44ab956de789 [^]
Fixes issue 32703: API change for issue 32504
---
M model/src-db/database/model/tables/M_COSTING.xml
M model/src-db/database/sourcedata/AD_COLUMN.xml
M model/src-db/database/sourcedata/AD_ELEMENT.xml
M model/src-db/database/sourcedata/AD_FIELD.xml
A java.japi.gz
---
|
|
|
|
|
|
(0085968)
|
hgbot
|
2016-04-25 19:28
|
|
Repository: erp/devel/pi
Changeset: 5df88a3c4cd138158bb26d1fc7467caa57b57cbe
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Apr 25 18:48:59 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5df88a3c4cd138158bb26d1fc7467caa57b57cbe [^]
Related to issue 32504: Remove cumqty value calculation in production
References to old m_costing cumqty column have been removed from Production cost calculation and old Cost Engine as it was calculated but never used.
---
M src-db/database/model/functions/MA_PRODUCTION_COST.xml
M src-db/database/model/functions/M_GENERATE_AVERAGE_COSTS.xml
M src-db/database/model/functions/M_GENERATE_STANDARD_COSTS.xml
---
|
|
|
(0086385)
|
hgbot
|
2016-05-11 17:08
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|