Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012843Openbravo ERP03. Procurement managementpublic2010-03-29 18:432010-05-18 12:12
sureshbabu 
harikrishnan 
highmajoralways
closedno change required 
5
main 
2.50MP17 
Core
No
0012843: Product price value truncated to 2 decimal places instead of 4 decimal places
Product price value truncated to 2 decimal places instead of 4 decimal places in Requisition to Order page.
Prerequisite:

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

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

Create a business partner Vendor A.

Pricelist -> Create a pricelist "Purchase" for product : A Raw Material

with List price = Standard Price = Price Limit as 6.7849

Steps to reproduce the issue:
1) Create a requisition
Navigate to Procurement Management || Transactions || Requisition || Header and click new
Select BP: vendor A
Move to Lines tab
click 'New' and enter the below details
Need by date: current date
Product: A Raw Material
Attribute set value: Any valid value
Quantity: 12

Verify the
List Price & Unit price field is filled with 6.7849
Line Net Amount: 81.42

Move to "Header" tab and click "Complete" button

2) Process of creating Purchase order from Requisition.

Navigate to Procurement Management || Transactions || Requisition To Order || Requisition To Order
Verify the above created requisition details

One can find Product price value truncated to two decimal places instead of 4 decimal places





 
No tags attached.
related to defect 00128322.50MP17 closed alostale Precision error in sales invoice 
jpg product value truncated to 2 decimal places instead of 4 decimal places.JPG (87,776) 2010-03-29 18:43
https://issues.openbravo.com/file_download.php?file_id=2394&type=bug
jpg
Issue History
2010-03-29 18:43sureshbabuNew Issue
2010-03-29 18:43sureshbabuAssigned To => adrianromero
2010-03-29 18:43sureshbabuFile Added: product value truncated to 2 decimal places instead of 4 decimal places.JPG
2010-03-29 19:03adrianromeroRelationship addedrelated to 0012832
2010-03-29 22:39psarobeSeverityminor => major
2010-03-29 22:39psarobeStatusnew => scheduled
2010-03-29 22:39psarobeTarget Version => 2.50MP15
2010-04-21 20:36harikrishnanAssigned Toadrianromero => harikrishnan
2010-04-21 20:38harikrishnanNote Added: 0026550
2010-04-21 20:38harikrishnanStatusscheduled => closed
2010-04-21 20:38harikrishnanResolutionopen => no change required
2010-04-22 00:00anonymoussf_bug_id0 => 2990612
2010-05-18 12:12gorka_gilTarget Version2.50MP15 => 2.50MP17

Notes
(0026550)
harikrishnan   
2010-04-21 20:38   
Suresh,

In format.xml change "euroEdition" to four decimals.Then in this window it ll be displayed to 4 decimals.