MCRCustCategory.getChildren Method
Retrieves all the child Categories of this given Category.
Syntax
public MCRCustCategory getChildren(
[boolean _forUpdate,
boolean _activeOnly,
boolean _showCustomers])
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.
- _showCustomers
Type: boolean
A Boolean value that indicates whether or not to retrieve related customers; optional.
Return Value
Type: MCRCustCategory Table
A record buffer of the MCRCustCategory table if children found; otherwise, an empty buffer.