Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037781 | Openbravo ERP | 07. Sales management | public | 2018-01-30 11:15 | 2018-02-01 10:00 | |||||||
Reporter | pramodkumar | |||||||||||
Assigned To | collazoandy4 | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | main | |||||||||||
Target Version | 3.0PR18Q1 | Fixed in Version | 3.0PR18Q1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | dmiguelez | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037781: Sales Invoice Dimensional Report in Excel - error 0/0 | |||||||||||
Description | If Sales Invoice Dimensional report is executed in excel (pdf is working fine) with invoices that have a total amount of zero an error is raising: 24df6f05 2018-01-26 13:45:58,345 [ajp-bio-127.0.0.1-8009-exec-1] ERROR org.openbravo.erpCommon.ad_reports.ReportInvoiceCustomerDimensionalAnalysesJR - Error captured: javax.servlet.ServletException: Error evaluating expression : Source text : $V{totalProfit}.divide($V{totalAmt}, 10, BigDecimal.ROUND_HALF_UP).multiply( new BigDecimal("100") ).multiply(new BigDecimal($V{totalProfit}.signum())) at org.openbravo.base.secureApp.HttpSecureAppServlet.renderJR(HttpSecureAppServlet.java:1306) at org.openbravo.base.secureApp.HttpSecureAppServlet.renderJR(HttpSecureAppServlet.java:1205) at org.openbravo.erpCommon.ad_reports.ReportInvoiceCustomerDimensionalAnalysesJR.printPageHtml(ReportInvoiceCustomerDimensionalAnalysesJR.java:1036) at org.openbravo.erpCommon.ad_reports.ReportInvoiceCustomerDimensionalAnalysesJR.doPost(ReportInvoiceCustomerDimensionalAnalysesJR.java:299) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:228) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) | |||||||||||
Steps To Reproduce | 1.Create any sales invoices with zero amount 2.Open sales invoice dimensional reports and pass the minimum parameter to get the report corresponding to customers. 3.Select the excel format report(Pdf working fine). | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-01-30 23:27 | collazoandy4 | Type | defect => backport | |||||||||
2018-01-30 23:27 | collazoandy4 | Target Version | => 3.0PR18Q1 | |||||||||
2018-02-01 09:59 | dmiguelez | Note Added: 0102110 | ||||||||||
2018-02-01 09:59 | dmiguelez | Status | scheduled => resolved | |||||||||
2018-02-01 09:59 | dmiguelez | Fixed in Version | => 3.0PR18Q1 | |||||||||
2018-02-01 09:59 | dmiguelez | Fixed in SCM revision | => https://code.openbravo.com/erp/backports/3.0PR18Q1/rev/d9b6eab2cbe943f9a4cb454423211ebfcffb2d58 [^] | |||||||||
2018-02-01 09:59 | dmiguelez | Resolution | open => fixed | |||||||||
2018-02-01 10:00 | dmiguelez | Review Assigned To | => dmiguelez | |||||||||
2018-02-01 10:00 | dmiguelez | Note Added: 0102111 | ||||||||||
2018-02-01 10:00 | dmiguelez | Status | resolved => closed |
Notes | |||||
|
|||||
|
|||||
|
|||||
|
|