Share via


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

Return Value

Type: RefRecId Extended Data Type
An instance of the Refrecord ID class for a SysPolicyRule record.

See Also

Reference

SysPolicyRule Table