LeanCoverageKanbanRule::isRulePartOfReplacementChain Method
Validates that a rule is part of a replacement chain of rules.
Syntax
client server public static boolean isRulePartOfReplacementChain(KanbanRuleRefRecId _kanbanRule, [boolean _countLastElement])
Run On
Called
Parameters
- _kanbanRule
Type: KanbanRuleRefRecId Extended Data Type
The record ID of the KanbanRule record to check.
- _countLastElement
Type: boolean
A Boolean value that indicates whether the last element of a rule replacement chain is counted as part of a replacement chain.
Return Value
Type: boolean
true if the rule belongs to a chain of replacement rules and the element is not last, and true if the element is last and the _countLastElement parameter is true; otherwise, false.
Remarks
If a rule belongs to a chain of replacement rules, they all share the same LeanCoverage record.