EcoResCategory::findByName Method
Finds the specified category hierarchy name in the EcoResCategory table.
Syntax
client server public static EcoResCategory findByName(
EcoResCategoryName _ecoResCategoryName,
EcoResCategoryHierarchyId _ecoResCategoryHierarchyId,
[boolean _forUpdate])
Run On
Called
Parameters
- _ecoResCategoryName
Type: EcoResCategoryName Extended Data Type
The category name for which to retrieve in the EcoResCategory table.
- _ecoResCategoryHierarchyId
Type: EcoResCategoryHierarchyId Extended Data Type
The category hierarchy ID in the EcoResCategoryHierarchy table.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: EcoResCategory Table
A record in the EcoResCategory table if found; otherwise, an empty record.