Unit conversion

Simple code for converting between two units: unitOfMeasureInvent = InventTableModule::find(itemId, ModuleInventPurchSales::Invent).UnitId; if (unitOfMeasureInvent != unitOfMeasure) { convertedQty = UnitOfMeasureConverter::convert(qty, UnitOfMeasure::unitOfMeasureIdBySymbol(unitOfMeasure), UnitOfMeasure::unitOfMeasureIdBySymbol(unitOfMeasureInvent), NoYes::No, InventTable::itemProduct(itemId), NoYes::No); }