UnitOfMeasure::isUnitOfClass Method
Indicates whether the unit of measure is of the specified class of units.
Syntax
client server public static boolean isUnitOfClass(
UnitOfMeasureRecId _unitOfMeasure,
UnitOfMeasureClass _unitOfMeasureClass,
[boolean _silent])
Run On
Called
Parameters
- _unitOfMeasure
Type: UnitOfMeasureRecId Extended Data Type
The unit of measure record.
- _unitOfMeasureClass
Type: UnitOfMeasureClass Enumeration
The unit of measure class.
- _silent
Type: boolean
Indicates whether error messages should be suppressed.
Return Value
Type: boolean
true if the unit is of the specified class; otherwise, false.