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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025031
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2013-10-28 09:462013-12-31 04:57
ReporterngarciaView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionf4dd25a223c4
ProjectionnoneETAnoneTarget Version3.0PR14Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Topramakrishnan
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025031: Wrong price when creating an order from another one if the product doesn't have a price in the price list of the order

DescriptionWrong price when creating an order from another one if the product doesn't have a price in the price list of the order
Steps To ReproduceCreate a sales price list (do not set it as default) and a sales price version
Create a new product and add a price in that price list version
Create a sales order for a different price list than the created one
Add a line with a product with a price defined in the price list of the order
Add another line with the product created in the 2nd step
Book it
Create a new sales order with the same header info
Click on the Copy From Order button and select the previously booked order
Check that the price of the product in the 1st line is copied in the 2nd line instead of leaving it as 0 as it doesn't have a price defined in the price list of the order
Proposed SolutionIn CopyFromPOOrder.java initialize the value of the following variables

strPriceActual = "0";
strPriceList = "0";
strPriceLimit = "0";

before the following line

for (int j = 0; data3 != null && j < data3.length; j++) {
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0063111)
AtulOpenbravo (developer)
2013-12-30 10:40

Test Plan
- Create a sales price list (do not set it as default) and a sales price version.
- Create a new product and add a price in above created price list version.
- Create a sales order for a different price list than the created above
- Add a line with a product with a price defined in the price list of the order
- Add another line with the product created in the 2nd step.
- Book the order.
- Create a new sales order with the same header info as previous order.
- Click on the Copy From Order button and select the previously booked order.
- Check that the price of the product in the 1st line is copied properly, in the 2nd line as product is not in the sales order header price list, the price of this product is set as zero.
(0063113)
hgbot (developer)
2013-12-30 11:53

Repository: erp/devel/pi
Changeset: f4dd25a223c406f555a39ea4e4f6070fff30f56b
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Dec 27 19:53:46 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/f4dd25a223c406f555a39ea4e4f6070fff30f56b [^]

Fixes Issue 0025031:Wrong price when creating an order from another one if the product
doesn't have a price in the price list of the order

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java
---
(0063115)
pramakrishnan (developer)
2013-12-30 11:57

Code review + testing - Ok
(0063133)
hudsonbot (developer)
2013-12-31 04:57

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/987357c24f95 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-10-28 09:46 ngarcia New Issue
2013-10-28 09:46 ngarcia Assigned To => jonalegriaesarte
2013-10-28 09:46 ngarcia Modules => Core
2013-10-28 09:46 ngarcia Resolution time => 1357599600
2013-10-28 09:46 ngarcia Triggers an Emergency Pack => No
2013-10-28 09:46 ngarcia Issue Monitored: networkb
2013-12-23 13:49 jonalegriaesarte Target Version 3.0MP31 => 3.0MP32
2013-12-27 15:21 AtulOpenbravo Assigned To jonalegriaesarte => AtulOpenbravo
2013-12-27 15:21 AtulOpenbravo Status new => scheduled
2013-12-27 15:21 AtulOpenbravo fix_in_branch => pi
2013-12-30 10:40 AtulOpenbravo Note Added: 0063111
2013-12-30 11:53 hgbot Checkin
2013-12-30 11:53 hgbot Note Added: 0063113
2013-12-30 11:53 hgbot Status scheduled => resolved
2013-12-30 11:53 hgbot Resolution open => fixed
2013-12-30 11:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f4dd25a223c406f555a39ea4e4f6070fff30f56b [^]
2013-12-30 11:57 pramakrishnan Review Assigned To => pramakrishnan
2013-12-30 11:57 pramakrishnan Note Added: 0063115
2013-12-30 11:57 pramakrishnan Status resolved => closed
2013-12-31 04:57 hudsonbot Checkin
2013-12-31 04:57 hudsonbot Note Added: 0063133


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker