MCRCustCategory.getDescendants Method
Retrieves all the descendant Categories of this given Category.
Syntax
public MCRCustCategory getDescendants([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: MCRCustCategory Table
A record buffer of the MCRCustCategory table if descendants found; otherwise, an empty buffer.