When receiving items with differing order or receipt units, the physical inventory quantity of the batch was calculated incorrectly

When receiving items where the order or receipt unit differed from the inventory unit, the physical inventory quantity of the batch was not calculated correctly. This could result in an incorrect physical quantity being displayed.