PmfBulkItemConv.convertQty Method
Converts a quantity from a unit to a quantity in another unit.
Syntax
public Qty convertQty(
Qty _qtyFrom,
UnitOfMeasureSymbol _fromUnitOfMeasure,
UnitOfMeasureSymbol _toUnitOfMeasure,
boolean _applyRounding)
Run On
Called
Parameters
- _qtyFrom
Type: Qty Extended Data Type
A quantity from which to convert.
- _fromUnitOfMeasure
Type: UnitOfMeasureSymbol Extended Data Type
A unit from which to convert.
- _toUnitOfMeasure
Type: UnitOfMeasureSymbol Extended Data Type
A unit to which to convert.
- _applyRounding
Type: boolean
A Boolean value that indicates whether rounding should be applied to the result.
Return Value
Type: Qty Extended Data Type
The converted quantity.