Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012278Openbravo ERP09. Financial managementpublic2010-02-15 17:082010-03-10 18:30
networkb 
dalsasua 
urgentmajoralways
closedfixed 
5
2.50MP11 
2.50MP122.50MP12 
Core
No
0012278: Uncorrect posting in m_inout and m_matchinv
In both tables, if a document is posted, it is not taken currency precision to set in fact_acct. It is taken M_costing product cost (independtly of its precision).

It should take currency precision in both cases
Modify Format.xml file. Modify euroEdition and priceEdition as formatOutput="#0.000000" formatInternal="#0.000000"
Compile the application.
Go to Master Data Management > Product.
Search for "Boots" product and go to Costing tab.
Modify its price and cost to fill all possible decimals.
Go to Financial Management > Accounting > Setup > Accounting Schema > Account Schema tables.
Activate ProcurementReceiptInvoiceMatch, MaterialManagementShipmentInOut.
Go to Purchase Management > Transacctions > Good Receipt.
Create one record in Main organization.
Go to Line tab, and search for Boots product.
Go back to Header, process it and post it.
Go to Purchase Invoice.
Create a record, with same organization and BP as good receipt.
Press "Create lines from". Select previous good receipt and select its line.
Complete it and process it.
Go to Matched Invoices window.
Search the created one.
Post it.

See fact_acct entries for 319 and 472 tables.
No tags attached.
Issue History
2010-02-15 17:08networkbNew Issue
2010-02-15 17:08networkbAssigned To => dalsasua
2010-02-16 09:53networkbSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=35#r35
2010-02-16 12:51dalsasuaStatusnew => scheduled
2010-02-16 12:51dalsasuafix_in_branch => pi
2010-02-16 13:29hgbotCheckin
2010-02-16 13:29hgbotNote Added: 0024406
2010-02-16 13:29hgbotStatusscheduled => resolved
2010-02-16 13:29hgbotResolutionopen => fixed
2010-02-16 13:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ff7737d3f7cd978cd33728180acd132704d4bac7 [^]
2010-02-16 17:05hgbotCheckin
2010-02-16 17:05hgbotNote Added: 0024423
2010-02-16 17:05hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/ff7737d3f7cd978cd33728180acd132704d4bac7 [^] => http://code.openbravo.com/erp/devel/pi/rev/1810b909c82a9298f14b9a3c9db96db40da12169 [^]
2010-02-18 00:31hudsonbotCheckin
2010-02-18 00:31hudsonbotNote Added: 0024535
2010-02-18 00:31hudsonbotCheckin
2010-02-18 00:31hudsonbotNote Added: 0024543
2010-02-18 12:11sureshbabuNote Added: 0024583
2010-02-18 12:11sureshbabuStatusresolved => closed
2010-02-18 12:11sureshbabuFixed in Version => 2.50MP12
2010-02-19 00:02anonymoussf_bug_id0 =>
2010-03-10 18:30anonymoussf_bug_id => 2968074

Notes
(0024406)
hgbot   
2010-02-16 13:29   
Repository: erp/devel/pi
Changeset: ff7737d3f7cd978cd33728180acd132704d4bac7
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Feb 16 13:29:39 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ff7737d3f7cd978cd33728180acd132704d4bac7 [^]

fixes issue 12278: Uncorrect posting in m_inout and m_matchinv

---
M src/org/openbravo/erpCommon/ad_forms/DocInOut.java
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
---
(0024423)
hgbot   
2010-02-16 17:05   
Repository: erp/devel/pi
Changeset: 1810b909c82a9298f14b9a3c9db96db40da12169
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Feb 16 17:05:11 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1810b909c82a9298f14b9a3c9db96db40da12169 [^]

Fixes issue 12278: Uncorrect posting in m_inout and m_matchinv
Take precision from database

---
M src/org/openbravo/erpCommon/ad_forms/DocInOut.java
M src/org/openbravo/erpCommon/ad_forms/DocInOut_data.xsql
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv.java
M src/org/openbravo/erpCommon/ad_forms/DocMatchInv_data.xsql
---
(0024535)
hudsonbot   
2010-02-18 00:31   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/ff7737d3f7cd [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c1b489fb0a0 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16459.obx [^]
(0024543)
hudsonbot   
2010-02-18 00:31   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/1810b909c82a [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c1b489fb0a0 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16459.obx [^]
(0024583)
sureshbabu   
2010-02-18 12:11   
Tested working fine