Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0027740 | Openbravo ERP | 07. Sales management | public | 2014-10-02 12:41 | 2015-02-24 17:04 | |||||||
Reporter | egoitz | |||||||||||
Assigned To | eduardo_Argal | |||||||||||
Priority | immediate | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | Sandrahuguet | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | 31399 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0027740: poor performance when completing a shipment with many lines | |||||||||||
Description | poor performance when completing a shipment with many lines. It happens when there are thousands of rows on the m_reservation_stock table and when there are thousands of lines per product with different attributesetintance. | |||||||||||
Steps To Reproduce | Execute the m_inout_post on an enviroment with thousends of row on m_reservation_stock table and thousands of lines per product with different attributesetintance. | |||||||||||
Proposed Solution | change the m_transaction_trg2 trigger by adding a condition as following if NEW.m_attributesetinstance_id is null or NEW.m_attributesetinstance_id = '0' then to do different queries depending on the attribute. When the attributesetinstance_id is null or 0 use the coalesce on the whereclause if not remove it. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2014-10-02 12:41 | egoitz | New Issue | ||||||||||
2014-10-02 12:41 | egoitz | Assigned To | => dmiguelez | |||||||||
2014-10-02 12:41 | egoitz | OBNetwork customer | => Yes | |||||||||
2014-10-02 12:41 | egoitz | Modules | => Core | |||||||||
2014-10-02 12:41 | egoitz | Support ticket | => 31399 | |||||||||
2014-10-02 12:41 | egoitz | Resolution time | => 1413324000 | |||||||||
2014-10-02 12:41 | egoitz | Triggers an Emergency Pack | => No | |||||||||
2014-10-02 12:45 | egoitz | Relationship added | related to 0027713 | |||||||||
2014-10-08 09:40 | jpcalvente | Issue Monitored: jpcalvente | ||||||||||
2014-10-13 12:24 | eduardo_Argal | Assigned To | dmiguelez => eduardo_Argal | |||||||||
2014-10-13 12:25 | eduardo_Argal | Status | new => scheduled | |||||||||
2014-10-13 12:25 | eduardo_Argal | fix_in_branch | => pi | |||||||||
2015-02-24 17:04 | Sandrahuguet | Note Added: 0074861 | ||||||||||
2015-02-24 17:04 | Sandrahuguet | Review Assigned To | => Sandrahuguet | |||||||||
2015-02-24 17:04 | Sandrahuguet | Status | scheduled => closed | |||||||||
2015-02-24 17:04 | Sandrahuguet | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|