SysPolicyRule::existsRuleForRuleType Method
Determines whether a rule already exists for a rule type for the selected policy.
Syntax
client server public static boolean existsRuleForRuleType(
RefRecId _policy,
RefRecId _policyRuleType,
[boolean _forUpdate])
Run On
Called
Parameters
- _policy
Type: RefRecId Extended Data Type
A Refrecord ID value to signify policy.
- _policyRuleType
Type: RefRecId Extended Data Type
A Refrecord ID value to signify rule type.
- _forUpdate
Type: boolean
A Boolean value that specifies whether the selected record is for update.
Return Value
Type: boolean
true if the record was found; otherwise, false.