webERP Forum
Wrong costs - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: Wrong costs (/showthread.php?tid=2561)



Wrong costs - giusba71 - 09-04-2015

During a BOM evaluation, I've found some wrong costs.
Below one of these.
[attachment=383]

Looking at the movements of the part I'm not able to understand how can be calculated the wrong cost.
Infact the wrong cost is 16.8748 EUR, and there are just two delivery from suppliers at price 2.81 and 1.80 EUR (see image).
[attachment=384]

Correcting the wrong cost I've seen that a previous calculation of average cost is correct (se image).
[attachment=385]
then
[attachment=386]

Somebody said that this problem could happen when the insertion of suppliers invoices are delayed, but in our payment process this is normal.

Is a serious problem for us, because generates wrong evaluations of stock and of BOMs.

Where/how can I add a correction in the php code for obtain correct costs?
Please help me.


RE: Wrong costs - giusba71 - 09-14-2015

Somebody can tell us where and when is calculated the average costs?
We will try to correct the wrong cost calculation.

Giusba