Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009944Openbravo ERP07. Sales managementpublic2009-07-17 15:472009-07-22 12:15
shuehner 
shuehner 
normalmajorhave not tried
closedfixed 
5
pi 
2.40MP8 
Core
No
0009944: ReportSalesOrderProvidedJR (Delivered Sales Order Report) 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 Delivered 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.
No tags attached.
related to backport 0009941 closed shuehner ReportSalesOrderInvoicedJasper does not work with many products... 
blocks defect 0009943 closed shuehner ReportSalesOrderProvidedJR (Delivered Sales Order Report) does not work with many products. 
Issue History
2009-07-17 15:48shuehnerTypedefect => backport
2009-07-17 15:48shuehnerfix_in_branch => 2.40
2009-07-17 15:48shuehnerRelationship addedrelated to 0009941
2009-07-17 16:11shuehnerNote Added: 0018378
2009-07-17 16:49hgbotCheckin
2009-07-17 16:49hgbotNote Added: 0018380
2009-07-17 16:49hgbotStatusscheduled => resolved
2009-07-17 16:49hgbotResolutionopen => fixed
2009-07-17 16:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/71ffa035de137dc7390086a88f9c31e0ba9881f6 [^]
2009-07-22 12:15sureshbabuStatusresolved => closed
2009-07-22 12:15sureshbabuNote Added: 0018545
2009-07-22 12:15sureshbabuFixed in Version => 2.40MP8

Notes
(0018378)
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.
(0018380)
hgbot   
2009-07-17 16:49   
Repository: erp/stable/2.40
Changeset: 71ffa035de137dc7390086a88f9c31e0ba9881f6
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Jul 17 15:55:41 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/71ffa035de137dc7390086a88f9c31e0ba9881f6 [^]

Fixed 9944: Fix Delivered 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/ReportSalesOrderProvidedJR.html
M src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderProvidedJR.java
M src/org/openbravo/erpCommon/ad_reports/ReportSalesOrderProvidedJR.xml
---
(0018545)
sureshbabu   
2009-07-22 12:15   
Tested working fine