UnitOfMeasure::findByInternalCode Method
Finds the specified record in the UnitOfMeasure table.
Syntax
client server public static UnitOfMeasure findByInternalCode(UnitOfMeasureCodeSymbol _codeSymbol, [boolean _forUpdate])
Run On
ClientOrServer
Parameters
- _codeSymbol
Type: UnitOfMeasureCodeSymbol Enumeration
An internal unit of measure code.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: UnitOfMeasure Table
A record in the UnitOfMeasure table if it exists; otherwise, an empty record.