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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032406
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Modules] Payment Aging Balance Reportmajoralways2016-03-04 09:552016-05-04 18:52
ReporteryogaskarnikView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionf23883edecf4
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Todmiguelez
Regression introduced in release
Summary

0032406: Aging Reports causing tomcat to crash

DescriptionAging Reports causing tomcat to crash in customers environment
Steps To ReproduceSteps to reproduce in customers environment:

1. login to ERP
2. Navigate to Application > Financial Management > Receivables and Payables > Analysis Tools > Receivables Aging Report / Payables Aging Report
3. Enter the mandatory fields
4. Press the Search button and the tomcat crashes

Note: contact support for customers environment access

TagsNo tags attached.
Attached Filesdiff file icon againg_refactor_draft.diff [^] (45,739 bytes) 2016-04-07 12:12 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0024343 newAugustoMauch Openbravo ERP High volume of data selected in a business partner selector blocks the Browser 
blocks defect 0032174 closedmarkmm82 Openbravo ERP PDF Format of Receivables Aging Schedule showing details and doubtful debts crashes 
causes defect 0033278 closedmarkmm82 Modules To show "Supplier reference" functionality (if configured) has been lost during report's refactor 

-  Notes
(0085464)
aferraz (manager)
2016-04-06 11:19

We are currently working on it
(0086188)
hgbot (developer)
2016-05-04 18:51

Repository: erp/mods/org.openbravo.agingbalance
Changeset: f23883edecf463326bbea99872df577cf0f401e3
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed May 04 17:58:24 2016 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/f23883edecf463326bbea99872df577cf0f401e3 [^]

Fixes Issue 32406. Refactor to improve performance

Replaced HQL queries by complex SQL queries that return the data almost already processed.
Created some SQL functions to directly process the currency conversion and doubtful debt stuff directly in SQL instead of Java.
That might increase the time to run the query, but on the other hand it drastically reduces the number of records to be processed in Java and thus the time to process.
In several high volume instances, the time to get the report has been reduced by more than a third part.

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/agingbalance/ad_reports/AgingDao.java
M src/org/openbravo/agingbalance/ad_reports/AgingData.java
M src/org/openbravo/agingbalance/ad_reports/AgingProcess.java
A src-db/database/model/functions/AGING_INVOICECURRENCY_RATE.xml
A src-db/database/model/functions/AGING_ISDOUBTFULTDEBT.xml
A src-db/database/model/functions/AGING_PAYMENTCURRENCY_RATE.xml
A src-db/database/model/modifiedTables/FIN_DOUBTFUL_DEBT.xml
A src/org/openbravo/agingbalance/ad_reports/AgingDao_data.xsql
---
(0086189)
dmiguelez (developer)
2016-05-04 18:52

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2016-03-04 09:55 yogaskarnik New Issue
2016-03-04 09:55 yogaskarnik Assigned To => Triage Finance
2016-03-04 09:55 yogaskarnik Modules => Core
2016-03-04 09:55 yogaskarnik Resolution time => 1459893600
2016-03-04 09:55 yogaskarnik Triggers an Emergency Pack => No
2016-03-04 09:57 yogaskarnik Steps to Reproduce Updated View Revisions
2016-04-05 12:08 aferraz Assigned To Triage Finance => AtulOpenbravo
2016-04-06 11:18 aferraz Assigned To AtulOpenbravo => vmromanos
2016-04-06 11:18 aferraz Type defect => design defect
2016-04-06 11:19 aferraz Note Added: 0085464
2016-04-06 11:20 vmromanos Project Openbravo ERP => Modules
2016-04-06 11:21 vmromanos Category 09. Financial management => Payment Aging Balance Report
2016-04-07 12:12 vmromanos File Added: againg_refactor_draft.diff
2016-04-07 12:12 vmromanos Status new => acknowledged
2016-04-20 10:12 egoitz Relationship added related to 0024343
2016-04-20 10:12 egoitz Relationship added blocks 0032174
2016-05-04 18:51 hgbot Checkin
2016-05-04 18:51 hgbot Note Added: 0086188
2016-05-04 18:51 hgbot Status acknowledged => resolved
2016-05-04 18:51 hgbot Resolution open => fixed
2016-05-04 18:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/f23883edecf463326bbea99872df577cf0f401e3 [^]
2016-05-04 18:52 dmiguelez Review Assigned To => dmiguelez
2016-05-04 18:52 dmiguelez Note Added: 0086189
2016-05-04 18:52 dmiguelez Status resolved => closed
2016-06-15 18:09 aferraz Relationship added causes 0033278


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker