webERP Forum

Full Version: Wrong costs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Somebody can tell us where and when is calculated the average costs?
We will try to correct the wrong cost calculation.

Giusba
Reference URL's