Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the inventory quantity value from one unit of measure to another by using the conversion rules that are defined for an item.
Syntax
public InventQty convertQtyBetweenUnits(
InventQty _value,
UnitOfMeasureSymbol _fromUnitId,
UnitOfMeasureSymbol _toUnitId,
ItemId _itemId)
Run On
Called
Parameters
- _value
Type: InventQty Extended Data Type
The value to convert.
- _fromUnitId
Type: UnitOfMeasureSymbol Extended Data Type
The unit of measure of the input quantity.
- _toUnitId
Type: UnitOfMeasureSymbol Extended Data Type
The unit of measure of the result quantity.
- _itemId
Type: ItemId Extended Data Type
The ID of the item to convert.
Return Value
Type: InventQty Extended Data Type
The converted inventory quantity.