Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0003465Openbravo ERP03. Procurement managementpublic2008-02-19 15:532012-07-30 16:57
user71 
gorkaion 
normalminoralways
closedfixed 
5
 
3.0MP13 
Core
No
0003465: Automatize the AverageCost in Goods Receipts
Version 2.35MP1 (Oracle)

When a Goods Receipt is process, the average costs should be updates automaticly, without the need of lounch the manual process "Generate Average Costs".

Work Arround:
I've just do it. I only have changed the procedure "GENERATE_AVERAGE_COSTS" (new in-parameter "p_Product_ID IN NUMBER DEFAULT NULL"). Furthermore, the Procedure "M_INOUT_POST" has to call this procedure for each Product_id in m_inoutline.

I attach the procedure "GENERATE_AVERAGE_COSTS". To find the changes, search the text "MMR".
ModuleCandidate
related to feature request 0007389 closed gorkaion Automatic execution of stock valuation process 
blocks feature request 0004252pi acknowledged rmorley Cost management enhancements 
Issue History
2008-07-01 18:08pjuvaraRelationship addedblocks 0004252
2008-07-01 18:08pjuvaraStatusnew => acknowledged
2008-10-19 18:10villindIssue Monitored: villind
2008-11-16 07:44pjuvaraAssigned Touser71 => pjuvara
2008-11-22 23:39pjuvaraTag Attached: ModuleCandidate
2009-07-05 09:21williams-tegikIssue Monitored: williams-tegik
2009-09-03 12:20villindNote Added: 0019444
2009-09-03 16:19williams-tegikNote Added: 0019453
2009-09-07 14:24villindNote Added: 0019489
2011-02-04 09:11jpabloaeAssigned Topjuvara => rmorley
2011-09-08 13:15eintelauIssue Monitored: eintelau
2012-02-01 17:32dmitry_mezentsevRelationship addedrelated to 0007389
2012-07-30 16:56gorkaionStatusacknowledged => scheduled
2012-07-30 16:56gorkaionfix_in_branch => pi
2012-07-30 16:56gorkaionAssigned Tormorley => gorkaion
2012-07-30 16:57gorkaionNote Added: 0050999
2012-07-30 16:57gorkaionStatusscheduled => closed
2012-07-30 16:57gorkaionResolutionopen => fixed
2012-07-30 16:57gorkaionFixed in Version => 3.0MP13

Notes
(0007054)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:44)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1896970 [^]
(0019444)
villind   
2009-09-03 12:20   
We have implemented this for Openbravo 2.40 and willing to contribute when the implementation starts for this feature. Our costing module has also other improvements, for example adding additional product costs.
(0019453)
williams-tegik   
2009-09-03 16:19   
Hi villind, very interesting... What exactly did you do? Did you add the cost of other product to the cost of a product?? (i.e. the cost of some taxes and import fees to the cost of the main product ?).

I am very interested on this, do you think you could share it?? I would really appreciate it.

ThanksĀ”
(0019489)
villind   
2009-09-07 14:24   
Releated documentation in wiki: http://wiki.openbravo.com/wiki/Projects/Enhanced_Inventory_Accounting [^]

Not quite up to date at the moment but will be updated soon.
(0050999)
gorkaion   
2012-07-30 16:57   
new cost engine is executed by an scheduled background process.