Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020136
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2012-03-28 13:222012-04-30 16:50
ReportermaiteView Statuspublic 
Assigned ToioritzCia 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision0d30cd20c9f8
ProjectionnoneETAnoneTarget Version3.0MP11
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020136: Error in Pick and Edit process in Return to Vendor window, where receipt has not associated order

DescriptionError in Pick and Edit process in Return to Vendor window, where receipt has not associated order
Steps To Reproduce1. 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 SolutionError 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00204733.0MP13 closedioritzCia Error in Pick and Edit process in Return from customer window, where shipment has not associated order 

-  Notes
(0048138)
hgbot (developer)
2012-04-27 12:18

Repository: erp/devel/pi
Changeset: 0d30cd20c9f8081e6784c0dd9b3d3f14ce1d841e
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Fri Apr 27 12:10:26 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0d30cd20c9f8081e6784c0dd9b3d3f14ce1d841e [^]

Fixes issue 20136: Error in Pick and Edit process in Return to Vendor window.
Where receipt has not an associated order.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/common/actionhandler/SRMOPickEditLines.java
---
(0048175)
hudsonbot (developer)
2012-04-28 02:31

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cd923b317af4 [^]

Maturity status: Test
(0048202)
maite (developer)
2012-04-30 16:49

verified.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker