Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034690 | Modules | Invoices Register Book | public | 2016-12-05 10:34 | 2016-12-14 15:58 |
|
Reporter | egoitz | |
Assigned To | collazoandy4 | |
Priority | normal | 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 | aferraz |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0034690: Performance problems on the invoice register book |
Description | The execution on the invoice register book takes one hour to get the report for one month. |
Steps To Reproduce | ON an environment with big amount of data.
0-Install the Spanish professional localization pack and apply the datasets
1-Go to the invoice register book
2-Create a new entry for "==Libro Registro Recibidas" for a a year/month where there are thousands of invoices.
3-Click on create. The process takes long.
http://forge.openbravo.com/plugins/mwiki/index.php/Invoicesregisterbook/UserDocumentation [^] |
Proposed Solution | 1) ON the file CreateBookLines
change the method
getIRBLOperationDate
by using a obcriteria instead of invoice.getReversedInvoicesList();
2) On the file
CreateBookLinesDao
change the method
getInvoicesRegisterBookLine
to not execute a .list but a unique result
as only the first value is used.
|
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0034642 | | closed | Sanjota | Localization Pack: Spain | performance problem with "create register book" process |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-12-05 10:34 | egoitz | New Issue | |
2016-12-05 10:34 | egoitz | Assigned To | => Triage Finance |
2016-12-05 10:34 | egoitz | Resolution time | => 1482879600 |
2016-12-07 17:49 | collazoandy4 | Assigned To | Triage Finance => markmm82 |
2016-12-07 17:50 | collazoandy4 | Status | new => scheduled |
2016-12-08 20:13 | markmm82 | Note Added: 0092225 | |
2016-12-08 20:14 | markmm82 | Note Added: 0092227 | |
2016-12-08 20:14 | markmm82 | Status | scheduled => feedback |
2016-12-08 20:15 | markmm82 | Note Deleted: 0092225 | |
2016-12-12 16:32 | aferraz | Assigned To | markmm82 => collazoandy4 |
2016-12-12 16:32 | aferraz | Status | feedback => new |
2016-12-12 16:33 | aferraz | Relationship added | related to 0034642 |
2016-12-13 08:41 | egoitz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13979#r13979 |
2016-12-13 08:41 | egoitz | Note Added: 0092300 | |
2016-12-14 15:41 | hgbot | Checkin | |
2016-12-14 15:41 | hgbot | Note Added: 0092354 | |
2016-12-14 15:41 | hgbot | Status | new => resolved |
2016-12-14 15:41 | hgbot | Resolution | open => fixed |
2016-12-14 15:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/918836dc74c8a95e501a4b1975b57e4836616fa1 [^] |
2016-12-14 15:42 | hgbot | Checkin | |
2016-12-14 15:42 | hgbot | Note Added: 0092355 | |
2016-12-14 15:42 | hgbot | Checkin | |
2016-12-14 15:42 | hgbot | Note Added: 0092356 | |
2016-12-14 15:54 | hgbot | Checkin | |
2016-12-14 15:54 | hgbot | Note Added: 0092360 | |
2016-12-14 15:54 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/918836dc74c8a95e501a4b1975b57e4836616fa1 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/60cdcf9fa32bfa90ca7625db0d17017e1060e015 [^] |
2016-12-14 15:54 | hgbot | Checkin | |
2016-12-14 15:54 | hgbot | Note Added: 0092361 | |
2016-12-14 15:55 | hgbot | Checkin | |
2016-12-14 15:55 | hgbot | Note Added: 0092362 | |
2016-12-14 15:58 | aferraz | Review Assigned To | => aferraz |
2016-12-14 15:58 | aferraz | Note Added: 0092363 | |
2016-12-14 15:58 | aferraz | Status | resolved => closed |
Notes |
|
|
Please add more details to be able to reproduce the issue. Can you specify the report is needed to run? |
|
|
(0092300)
|
egoitz
|
2016-12-13 08:41
|
|
steps to reproduce updated |
|
|
(0092354)
|
hgbot
|
2016-12-14 15:41
|
|
Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: 918836dc74c8a95e501a4b1975b57e4836616fa1
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Mon Dec 12 18:58:17 2016 -0800
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/918836dc74c8a95e501a4b1975b57e4836616fa1 [^]
Fixes issue 34690: Performance problems on the invoice register book
Implemented a proposed solution from the issue, changing the methods CreateBookLines.getIRBLOperationDate instance of using
invoice.getReversedInvoicesList() a OBCriteria is now created to get the ReversedInvoicesList and CreateBookLinesDao.getInvoicesRegisterBookLine
signature was change instance return a List<InvoicesRegisterBookLine> now the first InvoicesRegisterBookLine is return if exist and null if not
also the CreateBookLines.getExistingLineInBook was refactor for the api change.
---
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLinesDao.java
---
|
|
|
(0092355)
|
hgbot
|
2016-12-14 15:42
|
|
|
|
(0092356)
|
hgbot
|
2016-12-14 15:42
|
|
|
|
(0092360)
|
hgbot
|
2016-12-14 15:54
|
|
Repository: erp/pmods/org.openbravo.module.invoicesregisterbook
Changeset: 60cdcf9fa32bfa90ca7625db0d17017e1060e015
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Mon Dec 12 18:58:17 2016 -0800
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoicesregisterbook/rev/60cdcf9fa32bfa90ca7625db0d17017e1060e015 [^]
Fixes issue 34690: Performance problems on the invoice register book
Implemented a proposed solution from the issue, changing the methods CreateBookLines.getIRBLOperationDate instance of using
invoice.getReversedInvoicesList() a OBCriteria is now created to get the ReversedInvoicesList and CreateBookLinesDao.getInvoicesRegisterBookLine
signature was change instance return a List<InvoicesRegisterBookLine> now the first InvoicesRegisterBookLine is return if exist and null if not
also the CreateBookLines.getExistingLineInBook was refactor for the api change.
---
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLines.java
M src/org/openbravo/module/invoicesregisterbook/obirb_actionButton/CreateBookLinesDao.java
---
|
|
|
(0092361)
|
hgbot
|
2016-12-14 15:54
|
|
|
|
(0092362)
|
hgbot
|
2016-12-14 15:55
|
|
|
|
|
|