SysPolicyRule::findPurchasingPolicyRule Method
Finds the record in the SysPolicyRule table for the PurchasingPolicy type and the given policy rule type and applicable to the specified legal entity and operating unit.
Syntax
client server public static RefRecId findPurchasingPolicyRule(
SysPolicyRuleTypeEnum _policyRuleType,
RefRecId _le,
RefRecId _ou)
Run On
Called
Parameters
- _policyRuleType
Type: SysPolicyRuleTypeEnum Enumeration
The policy rule type to find.
- _le
Type: RefRecId Extended Data Type
An instance of the Refrecord ID class for the CompanyInfo table to indicate the legal entity
- _ou
Type: RefRecId Extended Data Type
An instance of the Refrecord ID class to indicate the Operating unit.
Return Value
Type: RefRecId Extended Data Type
An instance of the Refrecord ID class for a SysPolicyRule record.