Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves all the child categories of the specified category that are available for purchase in a specified buying legal entity and receiving operating unit.
Syntax
server public static Array getProcCategoryAvailableChildren(
EcoResCategoryId _categoryId,
[boolean _activeOnly,
RefRecId _buyingLegalEntity,
RefRecId _receivingOperatingUnit,
ProcCategoryOrganizationOption _organizationOption])
Run On
Server
Parameters
- _categoryId
Type: EcoResCategoryId Extended Data Type
The category ID in the EcoResCategory table for which to retrieve the child categories.
- _activeOnly
Type: boolean
A Boolean value that indicates whether to retrieve only active categories.
- _buyingLegalEntity
Type: RefRecId Extended Data Type
The legal entity in the CompanyInfo table for which to retrieve the category availability; optional.
- _receivingOperatingUnit
Type: RefRecId Extended Data Type
The operating unit in the OMOperatingUnit table for which to retrieve the category availability; optional.
- _organizationOption
Type: ProcCategoryOrganizationOption Enumeration
The value that is used to find the category ID in with the buying legal entity, the receiving operating unit, or both.
Return Value
Type: Array Class
An array of record IDs for the child categories.
Remarks
If the values of both the _buyingLegalEntity and _receivingOperatingUnit parameters are zero, the method returns all the child categories.