Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009940Openbravo ERP07. Sales managementpublic2009-07-17 13:332009-07-22 00:00
shuehner 
shuehner 
normalmajorhave not tried
closedfixed 
5
pi 
2.50MP3 
Core
No
0009940: ReportSalesOrderInvoicedJasper does not work with many products...
When trying to use this report with i.e 100k products (but probably even with less) the system just uses 100% cpu in the java process and you do never (waited for >=5min) a result.
Use the database with many products
Go to Sales Management
Go to Analysis tools
Go to Invoiced Sales Order report

The parameter page of the report will not appear and the tomcat process will use up 100% cpu for a long time.
250MP3releasecandidate
depends on backport 0009941 closed shuehner ReportSalesOrderInvoicedJasper does not work with many products... 
related to defect 0009943 closed shuehner ReportSalesOrderProvidedJR (Delivered Sales Order Report) does not work with many products. 
Issue History
2009-07-17 13:33shuehnerNew Issue
2009-07-17 13:33shuehnerAssigned To => rafaroda
2009-07-17 13:48shuehnerAssigned Torafaroda => shuehner
2009-07-17 13:52shuehnerStatusnew => scheduled
2009-07-17 13:52shuehnerfix_in_branch => pi
2009-07-17 15:20hgbotCheckin
2009-07-17 15:20hgbotNote Added: 0018371
2009-07-17 15:20hgbotStatusscheduled => resolved
2009-07-17 15:20hgbotResolutionopen => fixed
2009-07-17 15:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dba583dee3e494f83d99a4a1f15d6a46cf8192ae [^]
2009-07-17 15:48shuehnerRelationship addedrelated to 0009943
2009-07-17 16:11shuehnerNote Added: 0018376
2009-07-21 16:24psarobeFixed in Version => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-21 17:47psarobeStatusresolved => closed
2009-07-22 00:00anonymoussf_bug_id0 => 2825070

Notes
(0018371)
hgbot   
2009-07-17 15:20   
Repository: erp/devel/pi
Changeset: dba583dee3e494f83d99a4a1f15d6a46cf8192ae
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Jul 17 15:17:10 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dba583dee3e494f83d99a4a1f15d6a46cf8192ae [^]

Fixed 9940: Fix Invoiced Sales Order Report with many products
- remove (unused) javascript array containing all products
- removed two unsused structure from xmlEngine control file containing categories & products

---
M src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoicedJasper.html
M src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoicedJasper.java
M src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderInvoicedJasper.xml
---
(0018376)
shuehner   
2009-07-17 16:11   
@qa: testing needed: if the report is working fine, especially with regards, to display of the product categories in the dropdown of the filter window and if filtering by product category and/or product is working fine.