Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030010 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 03. Procurement management | major | always | 2015-05-25 17:11 | 2015-05-27 10:37 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | vmromanos | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q2.2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 232e891a9118 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2.2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | aferraz | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 36382 | |||||||
Regression level | Production - QA Approved | |||||||
Regression date | 2015-02-10 | |||||||
Regression introduced in release | 3.0PR15Q2 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/07f0f908a7eb8af5a08df2c96b3ee827dcc1eb52 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030010: Cannot create a purchase order from the Requisition To Order window | |||||||
Description | Cannot create a purchase order from the Requisition To Order window | |||||||
Steps To Reproduce | As group admin role: Create a Requisition and book it Go to the Requisition To Order window, select the line from the first grid, click on Add, select the line for the second grid, click on Create and OK The following error is shown: Process failed during execution And the logs shows: java.lang.NumberFormatException at java.math.BigDecimal.<init>(BigDecimal.java:545) at java.math.BigDecimal.<init>(BigDecimal.java:739) at org.openbravo.erpCommon.ad_forms.RequisitionToOrder.processPurchaseOrder(RequisitionToOrder.java:570)... | |||||||
Proposed Solution | In the following instruction of the RequisitionToOrder.java file, the quantityorder field can be null: new BigDecimal(lines[i].quantityorder) | |||||||
Tags | Approved | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0077795) hgbot (developer) 2015-05-27 10:36 |
Repository: erp/backports/3.0PR15Q2.2 Changeset: 232e891a91189f1c16e8ea7a37ef08bca56a6ef7 Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Tue May 26 18:20:34 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q2.2/rev/232e891a91189f1c16e8ea7a37ef08bca56a6ef7 [^] Fixed bug 30010: Error in Requisition To Order window When creating a purchase order from the Requisition To Order window, an error was raised when lines[i].quantityorder is empty. Now the SQL query returns quantityorder = 0 when it's null. Then, when inserting the purchase order line, the process inserts "" if quantityorder = 0 --- M src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder.java M src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder_data.xsql --- |
(0077797) aferraz (viewer) 2015-05-27 10:37 |
Code review + Testing OK |
![]() |
|||
Date Modified | Username | Field | Change |
2015-05-26 11:14 | aferraz | Type | defect => backport |
2015-05-26 11:14 | aferraz | Target Version | => 3.0PR15Q2.2 |
2015-05-26 16:46 | dmitry_mezentsev | Tag Attached: Approved | |
2015-05-26 18:33 | vmromanos | Assigned To | aferraz => vmromanos |
2015-05-27 10:36 | hgbot | Checkin | |
2015-05-27 10:36 | hgbot | Note Added: 0077795 | |
2015-05-27 10:36 | hgbot | Status | scheduled => resolved |
2015-05-27 10:36 | hgbot | Resolution | open => fixed |
2015-05-27 10:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q2.2/rev/232e891a91189f1c16e8ea7a37ef08bca56a6ef7 [^] |
2015-05-27 10:37 | aferraz | Review Assigned To | => aferraz |
2015-05-27 10:37 | aferraz | Note Added: 0077797 | |
2015-05-27 10:37 | aferraz | Status | resolved => closed |
2015-05-27 10:37 | aferraz | Fixed in Version | => 3.0PR15Q2.2 |
Copyright © 2000 - 2009 MantisBT Group |