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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012096
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2010-02-01 17:212010-03-10 18:29
ReporternetworkbView Statuspublic 
Assigned Torafaroda 
PriorityimmediateResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version2.50MP12
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP10SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012096: When saving an order line the total amount is modified with a wrong value

DescriptionWhen saving an order line the total amount is modified with a wrong value. This happen because the callout and the trigger round the values in a different order.

Steps To Reproduce-Create a product with 12,70€ in the three prices.
-Create a price adjustment,with discount of 1,95% for the previous product and all the partners. For that create a new price adjustment with a name. Then change the product combo to "all selected" and on the "Discount %" field write 1,95. Fill the starting date. Don't change any other field.
-Go to the product tab and select the product created previously.
-Create a new order with date bigger than the starting date of the price adjustment.
-Go to the lines.
-Select the product defined and see that the discount is applied.
-Change the quantity from 1 to 1290 and see that the total changes to 16063.60
-Save the line. The total changes to 16060.50
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0010067 closedrafaroda Grant total amount changes before and after the completion of the sales order document. 

-  Notes
(0023904)
psarobe (manager)
2010-02-01 22:27

1. Please detail how you have defined the price adjustmanet
2. Please detail the first qty when you create the order line

Thanks
(0024048)
rafaroda (developer)
2010-02-09 11:14

This is not an issue but a wrong configuration problem.

In order to avoid it, before start working please match the precision of:
* Price Precision in General Setup || Application || Currency
* With the Output Format of priceEdition in https://code.openbravo.com/erp/devel/pi/file/tip/config/Format.xml.template [^] For more information see http://wiki.openbravo.com/wiki/index.php?title=ERP/2.50/Developers_Guide/Format.xml [^]

- Issue History
Date Modified Username Field Change
2010-02-01 17:21 networkb New Issue
2010-02-01 17:21 networkb Assigned To => rafaroda
2010-02-01 22:27 psarobe Note Added: 0023904
2010-02-01 22:27 psarobe Status new => feedback
2010-02-02 09:02 networkb Status feedback => new
2010-02-02 09:02 networkb Proposed Solution updated
2010-02-08 12:42 rafaroda Relationship added related to 0010067
2010-02-09 11:14 rafaroda Note Added: 0024048
2010-02-09 11:14 rafaroda Status new => closed
2010-02-09 11:14 rafaroda Resolution open => no change required
2010-02-10 12:43 anonymous sf_bug_id 0 =>
2010-03-10 18:29 anonymous sf_bug_id => 2968001


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker