EcoResCategory::getProcCategoryAvailability Method
Retrieves the availability of the specified category in the specified buying legal entity and receiving operating unit.
Syntax
server public static boolean getProcCategoryAvailability(
EcoResCategoryId _categoryId,
RefRecId _buyingLegalEntity,
[RefRecId _receivingOperatingUnit,
ProcCategoryOrganizationOption _organizationOption])
Run On
Server
Parameters
- _categoryId
Type: EcoResCategoryId Extended Data Type
The record ID of the EcoResCategory Record for which the availability should be retrieved.
- _buyingLegalEntity
Type: RefRecId Extended Data Type
The record ID of the legal entity in the CompanyInfo table for which the category availability should be retrieved.
- _receivingOperatingUnit
Type: RefRecId Extended Data Type
The record ID of the operating unit in the OMOperatingUnit table for which the category availability should be retrieved; optional.
- _organizationOption
Type: ProcCategoryOrganizationOption Enumeration
The record ID of the operating unit in the OMOperatingUnit table for which the category availability should be retrieved; optional.
Return Value
Type: boolean
true if the specified category is available in the specified legal entity and operating unit combination; otherwise, false.