Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012468Openbravo ERP09. Financial managementpublic2010-02-25 12:182010-04-10 00:00
networkb 
dalsasua 
immediatemajoralways
closedfixed 
5
2.50MP11 
2.50MP14 
Core
No
0012468: Uncorrect cost after executing Generate Average Cost
A Good Receipt is created and post it.
Then, Generate Average cost is run.
Finally, its Matched Invoice is posted.
The result is not correct because cost has changed. Match Invoice and Good receipt contain diferent cost.
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 Warehouse Management > Transactions > Generate Average Cost.
Run it.
Go to Purchase Management > Transacctions > 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.
No tags attached.
Issue History
2010-02-25 12:18networkbNew Issue
2010-02-25 12:18networkbAssigned To => dalsasua
2010-03-08 16:06jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-12 11:06hgbotCheckin
2010-03-12 11:06hgbotNote Added: 0025271
2010-03-12 11:06hgbotStatusnew => resolved
2010-03-12 11:06hgbotResolutionopen => fixed
2010-03-12 11:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/09d99b23ffa224c7eaef7b8224ea6c5855176565 [^]
2010-03-12 22:41hudsonbotCheckin
2010-03-12 22:41hudsonbotNote Added: 0025435
2010-04-09 12:38arunkumarNote Added: 0026025
2010-04-09 12:38arunkumarStatusresolved => closed
2010-04-10 00:00anonymoussf_bug_id0 => 2984773

Notes
(0025271)
hgbot   
2010-03-12 11:06   
Repository: erp/devel/pi
Changeset: 09d99b23ffa224c7eaef7b8224ea6c5855176565
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Fri Mar 12 11:12:01 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/09d99b23ffa224c7eaef7b8224ea6c5855176565 [^]

Fixes issue 12468: Uncorrect cost after executing Generate Average Cost

---
M src-db/database/model/functions/M_GENERATE_AVERAGE_COSTS.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0025435)
hudsonbot   
2010-03-12 22:41   
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/09d99b23ffa2 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]
(0026025)
arunkumar   
2010-04-09 12:38   
Tested & working fine