UnitOfMeasureConversion::findByConversion Method
Finds the specified record in the UnitOfMeasureConversion table.
Syntax
client server public static UnitOfMeasureConversion findByConversion(
UnitOfMeasureFromRecId _fromUnitOfMeasure,
UnitOfMeasureToRecId _toUnitOfMeasure,
[EcoResProductRecId _product,
boolean _forUpdate])
Run On
ClientOrServer
Parameters
- _fromUnitOfMeasure
Type: UnitOfMeasureFromRecId Extended Data Type
A from unit of measure ID.
- _toUnitOfMeasure
Type: UnitOfMeasureToRecId Extended Data Type
A to unit of measure ID.
- _product
Type: EcoResProductRecId Extended Data Type
A product ID; optional.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: UnitOfMeasureConversion Table
A record in the UnitOfMeasureConversion table if it exists; otherwise, an empty record.