Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037515 | Openbravo ERP | 09. Financial management | public | 2017-12-19 16:48 | 2018-02-22 18:18 | |||||||
Reporter | JONHM | |||||||||||
Assigned To | AtulOpenbravo | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR18Q2 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | dmiguelez | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | 48552 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037515: Performance issue in Orders Awaiting Invoice Report | |||||||||||
Description | There is a performance issue in Orders Awaiting Invoice Report on environments with high amount of data. | |||||||||||
Steps To Reproduce | Login on the environment provided by support: - Open Orders Awaiting Invoice Report and set: * From date: 10-08-2017 * To date: 12-08-2017 It take about 120 seconds to finish | |||||||||||
Proposed Solution | https://code.openbravo.com/erp/devel/pi/file/tip/src/org/openbravo/erpCommon/ad_reports/ReportOrderNotInvoice_data.xsql [^] The c_order table could be excluded in this part of the query: SELECT 1 FROM c_order C2, c_orderline CL WHERE C2.c_order_id = C.c_order_id AND c2.c_order_id = cl.c_order_id AND cl.qtyordered <> cl.qtyinvoiced Also, an index could be added for that condition: cl.qtyordered <> cl.qtyinvoiced | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=11372&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=11373&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=11476&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=11477&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-12-19 16:48 | JONHM | New Issue | ||||||||||
2017-12-19 16:48 | JONHM | Assigned To | => Triage Finance | |||||||||
2017-12-19 16:48 | JONHM | File Added: query.sql | ||||||||||
2017-12-19 16:48 | JONHM | OBNetwork customer | => Yes | |||||||||
2017-12-19 16:48 | JONHM | Modules | => Core | |||||||||
2017-12-19 16:48 | JONHM | Support ticket | => 48552 | |||||||||
2017-12-19 16:48 | JONHM | Resolution time | => 1515452400 | |||||||||
2017-12-19 16:48 | JONHM | Triggers an Emergency Pack | => No | |||||||||
2017-12-19 16:49 | JONHM | Proposed Solution updated | ||||||||||
2017-12-19 16:49 | JONHM | File Added: query_plan | ||||||||||
2017-12-19 16:55 | JONHM | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16476#r16476 | |||||||||
2017-12-19 16:58 | JONHM | Summary | Performance issue in Orders Awaiting Delivery Report => Performance issue in Orders Awaiting Invoice Report | |||||||||
2017-12-19 16:58 | JONHM | Description Updated | bug_revision_view_page.php?rev_id=16478#r16478 | |||||||||
2017-12-19 16:58 | JONHM | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16479#r16479 | |||||||||
2017-12-19 17:02 | JONHM | File Deleted: query.sql | ||||||||||
2017-12-19 17:03 | JONHM | File Added: query.sql | ||||||||||
2017-12-19 17:09 | JONHM | Note Added: 0101139 | ||||||||||
2017-12-19 17:11 | aferraz | Relationship added | related to 0037516 | |||||||||
2017-12-19 17:53 | dmiguelez | Assigned To | Triage Finance => AtulOpenbravo | |||||||||
2018-01-15 09:55 | AtulOpenbravo | Status | new => scheduled | |||||||||
2018-01-22 11:31 | hgbot | Checkin | ||||||||||
2018-01-22 11:31 | hgbot | Note Added: 0101827 | ||||||||||
2018-01-22 11:31 | hgbot | Status | scheduled => resolved | |||||||||
2018-01-22 11:31 | hgbot | Resolution | open => fixed | |||||||||
2018-01-22 11:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/1f43ecba24a4849831199964da55739b71ee35d0 [^] | |||||||||
2018-01-22 11:37 | dmiguelez | Review Assigned To | => dmiguelez | |||||||||
2018-01-22 11:37 | dmiguelez | Note Added: 0101829 | ||||||||||
2018-01-22 11:37 | dmiguelez | Status | resolved => closed | |||||||||
2018-01-22 11:37 | dmiguelez | Fixed in Version | => 3.0PR18Q2 | |||||||||
2018-01-22 18:34 | AtulOpenbravo | Note Added: 0101858 | ||||||||||
2018-01-22 18:35 | AtulOpenbravo | File Added: Final_37515_Query_QueryPlan_CTE_OBEQUALS_Index.txt | ||||||||||
2018-01-22 18:36 | AtulOpenbravo | Note Edited: 0101858 | bug_revision_view_page.php?bugnote_id=0101858#r16572 | |||||||||
2018-01-22 19:12 | AtulOpenbravo | File Added: ClientEnvironment37515Fix.diff | ||||||||||
2018-02-22 18:18 | hudsonbot | Checkin | ||||||||||
2018-02-22 18:18 | hudsonbot | Note Added: 0102672 |
Notes | |||||
|
|||||
|
|||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|