EcoResCategory.getLeafNodes Method
Retrieves all the leaf categories under this given category.
Syntax
public EcoResCategory getLeafNodes([boolean _forUpdate, boolean _activeOnly])
Run On
Called
Parameters
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _activeOnly
Type: boolean
A Boolean value that indicates whether to retrieve active categories only.
Return Value
Type: EcoResCategory Table
A record buffer of the EcoResCategory table if leaf nodes are found; otherwise, an empty buffer.