Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0020136 | Openbravo ERP | 03. Procurement management | public | 2012-03-28 13:22 | 2012-04-30 16:50 | |||||||
Reporter | maite | |||||||||||
Assigned To | ioritzCia | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0MP11 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0020136: Error in Pick and Edit process in Return to Vendor window, where receipt has not associated order | |||||||||||
Description | Error in Pick and Edit process in Return to Vendor window, where receipt has not associated order | |||||||||||
Steps To Reproduce | 1. Go to Goods Receipt window and create receipt for any BP. Add any line and complete. 2. Go to Return to Vendor window. Create Header form same BP, Organization and posterior date. Press "Pick and Edit Lines" button 3. Realize that grid is loaded and your receipt is showed in grid, but Net Unit Price is null. 4. Select line and press "Done". Realize that line has not been added. If you have a look to openbravo log you will see that NumberFormatException error has been thrown: 2012-03-28 10:49:27,902 [ajp-8009-1] ERROR org.openbravo.common.actionhandler.SRMOPickEditLines - java.lang.NumberFormatException at java.math.BigDecimal.<init>(BigDecimal.java:459) at java.math.BigDecimal.<init>(BigDecimal.java:728) at org.openbravo.common.actionhandler.SRMOPickEditLines.createOrderLines Problem is that field UnitPrice is null because receipt has not associated order | |||||||||||
Proposed Solution | Error is in file SRMOPickEditLines, in line BigDecimal price = new BigDecimal(selectedLine.getString("unitPrice")); Data is obtained from C_RM_Order_Pick_Edit_Lines table, as it is defined in AD window "RFC Order Pick / Edit Lines" Proposed solution is that, when there is no associated order, prices should be taken from price list | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2012-03-28 13:22 | maite | New Issue | ||||||||||
2012-03-28 13:22 | maite | Assigned To | => vmromanos | |||||||||
2012-03-28 13:22 | maite | Modules | => Core | |||||||||
2012-03-28 13:22 | maite | Issue Monitored: networkb | ||||||||||
2012-03-28 13:24 | vmromanos | Assigned To | vmromanos => jonalegriaesarte | |||||||||
2012-04-02 10:56 | jonalegriaesarte | Assigned To | jonalegriaesarte => ioritzCia | |||||||||
2012-04-27 12:18 | hgbot | Checkin | ||||||||||
2012-04-27 12:18 | hgbot | Note Added: 0048138 | ||||||||||
2012-04-27 12:18 | hgbot | Status | new => resolved | |||||||||
2012-04-27 12:18 | hgbot | Resolution | open => fixed | |||||||||
2012-04-27 12:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0d30cd20c9f8081e6784c0dd9b3d3f14ce1d841e [^] | |||||||||
2012-04-28 02:31 | hudsonbot | Checkin | ||||||||||
2012-04-28 02:31 | hudsonbot | Note Added: 0048175 | ||||||||||
2012-04-30 16:49 | maite | Note Added: 0048202 | ||||||||||
2012-04-30 16:49 | maite | Status | resolved => closed | |||||||||
2012-05-11 12:15 | VictorVillar | Relationship added | related to 0020473 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|