Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0042040 | Openbravo ERP | 04. Warehouse management | public | 2019-10-16 13:44 | 2019-12-12 23:01 |
Reporter | ngarcia | ||||
Assigned To | markmm82 | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR20Q1 | |||
Merge Request Status | |||||
Review Assigned To | Sandrahuguet | ||||
OBNetwork customer | Gold | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | 12183 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0042040: Cannot print to PDF the Valued Stock Report if there exists a transaction in which the cost is not calculated | ||||
Description | Cannot print to PDF the Valued Stock Report if there exists a transaction in which cost is not calculated. The problem is in the following line of ReportValuationStock class: spc.addCost(new BigDecimal(row.totalCost)); As the select query in ReportValuationStock_data.xsql is returning a null value in the total_cost column | ||||
Steps To Reproduce | As group admin role: Go to Process Request window and unschedule the costing background process Create a goods receipt, add a product and complete it Go to Valued Stock Report and filter it by the goods receipt organization and warehouse Check the product included in the goods receipt is shown with the UNIT COST and VALUATION columns empty and the following warning is shown: Transactions with no available cost found Try to export it to PDF (Print record toolbar button) and check the following error is shown: java.lang.NumberFormatException The log shows: ERROR org.openbravo.erpCommon.ad_reports.ReportValuationStock - Error captured: java.lang.NumberFormatException: null at java.math.BigDecimal.<init>(BigDecimal.java:624) ~[?:?] at java.math.BigDecimal.<init>(BigDecimal.java:401) ~[?:?] at java.math.BigDecimal.<init>(BigDecimal.java:834) ~[?:?] at org.openbravo.erpCommon.ad_reports.ReportValuationStock.printPageDataPDF(ReportValuationStock.java:473) ~[classes/:?] at org.openbravo.erpCommon.ad_reports.ReportValuationStock.buildData(ReportValuationStock.java:243) ~[classes/:?] at org.openbravo.erpCommon.ad_reports.ReportValuationStock.doPost(ReportValuationStock.java:122) ~[classes/:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) ~[tomcat8-servlet-api-8.5.39.jar:?] | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-10-16 13:44 | ngarcia | New Issue | |||
2019-10-16 13:44 | ngarcia | Assigned To | => Triage Finance | ||
2019-10-16 13:44 | ngarcia | OBNetwork customer | => Gold | ||
2019-10-16 13:44 | ngarcia | Modules | => Core | ||
2019-10-16 13:44 | ngarcia | Support ticket | => 12183 | ||
2019-10-16 13:44 | ngarcia | Resolution time | => 1572994800 | ||
2019-10-16 13:44 | ngarcia | Triggers an Emergency Pack | => No | ||
2019-10-16 15:08 | Sandrahuguet | Assigned To | Triage Finance => markmm82 | ||
2019-10-17 01:29 | markmm82 | Status | new => scheduled | ||
2019-10-17 02:11 | markmm82 | Note Added: 0115131 | |||
2019-10-18 08:39 | hgbot | Checkin | |||
2019-10-18 08:39 | hgbot | Note Added: 0115156 | |||
2019-10-18 08:39 | hgbot | Status | scheduled => resolved | ||
2019-10-18 08:39 | hgbot | Resolution | open => fixed | ||
2019-10-18 08:39 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/52830302ff4b99b0ae2ba69dab6d1ae8bdaa5427 [^] | ||
2019-10-18 08:45 | Sandrahuguet | Review Assigned To | => Sandrahuguet | ||
2019-10-18 08:45 | Sandrahuguet | Note Added: 0115157 | |||
2019-10-18 08:45 | Sandrahuguet | Status | resolved => closed | ||
2019-10-18 08:45 | Sandrahuguet | Fixed in Version | => 3.0PR20Q1 | ||
2019-12-12 23:01 | hudsonbot | Checkin | |||
2019-12-12 23:01 | hudsonbot | Note Added: 0116255 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|