Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012850Openbravo ERP03. Procurement managementpublic2010-03-30 12:022012-05-11 14:36
arunkumar 
Sandrahuguet 
urgentmajorhave not tried
closedunable to reproduce 
5
main 
 
Core
No
0012850: Precision error in creating purchase order using "Copy Lines"
Configure the Format.xml to 4 decimal places and configure the Price precision, Standard precision, Costing precision as 2 in general setup -> Application -> currency for the currency EURO.

Create & complete a Purchase order.If the product price is 5.2369 then it will be displayed as 5.2400 in Net Unit Price due to the precision we did. But create another purchase order using Copy Lines. It will show the Net Unit Price as 5.2369
Prerequisite:

Format.xml -> priceRelation and priceEdition are set as 0.0000

General Setup -> Application -> currency. For Euro Standard precision=2,
Price precision=2, Costing precision=2

Create a business partner VENDOR A.

Pricelist -> Create a pricelist PURCHASE - product : Raw Material A

List price = Standard Price = Price Limit = 5.2369 for the product.

Steps to reproduce the issue:

** Go to Procurement Management || Transactions || Purchase order || Header
** Create a new record and select the business partner VENDOR A which has
the Price List "PURCHASE"
** Go to lines and select the product Raw Material A. You will see the Net Unit Price will show 5.2400( Since the price precision is 2)
Complete the purchase order.

Create another purchase order. Select the business partner VENDOR A.Click Copy Lines.Popup window will open up. Enter the quantity. Now the lines will be copied.

If you move to the lines you can see the Net Unit Price shows up 5.2369. This is wrong. Since we set the price precision as 2, it should be 5.2400.

Note : Copy form order works fine.There is no precision error.
OB3-Reviewed, VMA-Reviewed
Issue History
2010-03-30 12:02arunkumarNew Issue
2010-03-30 12:02arunkumarAssigned To => adrianromero
2010-03-30 12:02arunkumarStatusnew => scheduled
2010-03-30 12:02arunkumarfix_in_branch => pi
2011-06-03 10:59dalsasuaAssigned Toadrianromero => dalsasua
2011-07-20 18:12dalsasuaAssigned Todalsasua => jonalegriaesarte
2011-10-29 21:16psarobeTag Attached: OB3-Reviewed
2012-02-15 19:04iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 17:23vmromanosTag Attached: VMA-Reviewed
2012-05-10 12:13gorka_gilAssigned Tovmromanos => mirurita
2012-05-11 13:58SandrahuguetAssigned Tomirurita => Sandrahuguet
2012-05-11 14:36SandrahuguetNote Added: 0048582
2012-05-11 14:36SandrahuguetStatusscheduled => closed
2012-05-11 14:36SandrahuguetResolutionopen => unable to reproduce

Notes
(0048582)
Sandrahuguet   
2012-05-11 14:36   
This issue is not happening anymore.
When you create a line with Copy lines button and follow the steps to reproduce the issue Net Unit Price is 5.2400.