EMSFlow.convertQty Method
Converts the quantity value of a substance from one unit of measure to the defined unit of measure for the substance.
Syntax
public Qty convertQty(
Qty _qtyFrom,
UnitOfMeasureRecId _unitFrom,
EMSSubstanceId _emsSubstanceId)
Run On
Called
Parameters
- _qtyFrom
Type: Qty Extended Data Type
A quantity value of a substance to be converted.
- _unitFrom
Type: UnitOfMeasureRecId Extended Data Type
A unit of measure from which to convert a quantity value.
- _emsSubstanceId
Type: EMSSubstanceId Extended Data Type
A substance ID.
Return Value
Type: Qty Extended Data Type
A quantity value in the unit of measure to which to convert.