Share via


EcoResCategory::getProcCategoryAvailableChildren Method

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

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

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.

See Also

Reference

EcoResCategory Table