KanbanCard::countRuleCards Method
Counts the KanbanCard records that belong to a particular kanban rule.
Syntax
client server private static int countRuleCards(
KanbanRule _kanbanRule,
boolean _assigned,
boolean _onlyActive)
Run On
Called
Parameters
- _kanbanRule
Type: KanbanRule Table
The kanban rule to which the cards belong.
- _assigned
Type: boolean
The flag that indicates whether the assigned or unassigned cards should be counted.
- _onlyActive
Type: boolean
The flag that indicates whether the cards for the active rule or the whole replacement chain should be counted.
Return Value
Type: int
The number of cards that correspond to the conditions.