MCRCustCategory::getRoot Method
Retrieves the root or very first category of the hierarchy.
Syntax
client server public static MCRCustCategory getRoot(int64 _custCategoryHierarchyId, [boolean _forUpdate])
Run On
Called
Parameters
- _custCategoryHierarchyId
Type: int64
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: MCRCustCategory Table
A record of the MCRCustCategory table if found; otherwise, an empty buffer.