EcoResCategory::getProcCategoryRules Method
Retrieves all the rule IDs in a table.
Syntax
server public static ProcCategoryTmpPolicyRule getProcCategoryRules(
SysPolicyRuleTypeEnum _ruleTypeEnum,
RefRecId _buyingLegalEntity,
[RefRecId _receivingOperatingUnit,
ProcCategoryOrganizationOption _organizationOption])
Run On
Server
Parameters
- _ruleTypeEnum
Type: SysPolicyRuleTypeEnum Enumeration
A SysPolicyRuleTypeEnum enumeration value.
- _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 option for the user to find the category ID.
Return Value
Type: ProcCategoryTmpPolicyRule Table
An array of child categories