EcoResCategory::getRoot Method
Retrieves the root or very first category of the hierarchy.
Syntax
client server public static EcoResCategory getRoot(EcoResCategoryHierarchyId _ecoResCategoryHierarchyId, [boolean _forUpdate])
Run On
Called
Parameters
- _ecoResCategoryHierarchyId
Type: EcoResCategoryHierarchyId Extended Data Type
The category hierarchy ID in the EcoResCategoryHierarchy table to retrieve.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: EcoResCategory Table
A record of the EcoResCategory table if found; otherwise, an empty buffer.