mrp_master_extension: Cost Price and Estimated PLP is calculated wrong. Missing unit handling.

Bug #1240398 reported by Daniel Stenlöv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Avanzosc developments
New
Undecided
Unassigned

Bug Description

Both the Cost Price and Estimated PLP is calculated wrong. So the Mat.Cost Price and Mat.Estimated PLP will also be wrong.

The fault in the calculation is that unit isn't handled in a correct matter. So if you do the following scenario:

Rawmaterial:
[90045-98-0] Jojoba oil, unit kg, cost 20 Euro ( 20 euro / kg)

Bill of Material:
[90045-98-0] Jojoba oil, 1000 g.

The Estimated PLP for that material will be 20x1000 = 20000 Euro and not 20 Euro as it should.

So all calculations done will be screwed up if you are not using PCE as unit or don't have the same unit in stock as in production.

Tags: mrp-6.1

Related branches

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.