常用标准方法
单位换算
sumQty += UnitOfMeasureConverter::convert(
WMSOrderTrans.qty, UnitOfMeasure::findBySymbol(UnitID).RecId,
UnitOfMeasure::findBySymbol(PosisonRecordInformation.UnitID).RecId,
true,
InventTable::find(WMSOrderTrans.itemId).Product);