Share via


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

  • _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.

See Also

Reference

EcoResCategory Table