webERP Forum

Full Version: weighted average costing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
when i create a vendor credit note the weighted average costing mis calculated
and give me a wired cost
i tried so many to know how he calculate it with no hope

plz help
Hi,
There is a bug in SupplierCredit.php which make the material cost wrong calculated. It's fixed in the trunk.
The file is attached for your reference.

Thanks and best regards!

Exson
(12-20-2015 12:55 AM)Exsonqu_Qu Wrote: [ -> ]Hi,
There is a bug in SupplierCredit.php which make the material cost wrong calculated. It's fixed in the trunk.
The file is attached for your reference.

Thanks and best regards!

Exson

thanks for the replay but still the average dos not have a meaning
buy 10 @ 510 average 510
buy 15 @ 515 average 513
Creadit 5 @ 515 average 511

while is suppose to give me 512.5

Plz Help
Hi,

If the average is 512.5, is your inventory vale equal to the GL inventory amount?

Thanks and best regards!

Exson
(12-20-2015 06:13 PM)Exsonqu_Qu Wrote: [ -> ]Hi,

If the average is 512.5, is your inventory vale equal to the GL inventory amount?

Thanks and best regards!

Exson

now start with 0 stock average 500
buy 10 @ 510 average 510 ok
buy 15 @ 515 average 513 ok
credit 5 @ 510 average 511 Wrong
account balance now 10275 ok

Please help
Hi,
Why do you think the average is wrong?
Best regards!
Exson
(12-24-2015 11:42 AM)Exsonqu_Qu Wrote: [ -> ]Hi,
Why do you think the average is wrong?
Best regards!
Exson

because the value of the stock is not equal to the value in the GL

and because when i try to calculate the value it dosn't seem right
Hi,

Could you post all of those gl amount and inventory value at each step?
Thanks and best regards!

Exson
Reference URL's