WHSInventTable::getHighestUnitQtyByUOMSeqGroup Method
Converts the quantity to the highest unit of measure that doesn't leave a remainder.
Syntax
client server public static container getHighestUnitQtyByUOMSeqGroup(
ItemId _itemId,
Qty _qty,
UnitOfMeasureSymbol _unitId)
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
An Item Id that determines the UOM sequence group and UOM conversions.
- _qty
Type: Qty Extended Data Type
The quantity being converted.
- _unitId
Type: UnitOfMeasureSymbol Extended Data Type
The unit of measure the quantity is currently in.
Return Value
Type: container
A container where the first value is the converted qty and the second value being the unit of measure the qty was converted to.