Material price in calculation did not take into account the price unit of the purchase price

The material price in a calculation showed the incorrect price if this material was an ACM item, where the purchase price agreement had a different price unit and the calculation was determined via a BOM. For example, an ACM item with a purchase price agreement with a price unit per ton received a price per kilogram in a calculation if the calculation followed a BOM.