KanbanFindRules.add Method [AX 2012]

Adds a KanbanRule record to the list of search results.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          private boolean add(
            KanbanRule _kanbanRule, 
            LeanRuleActiveDateTime _coverageValidFrom, 
            LeanRuleActiveDateTime _coverageValidTo, 
            KanbanFindRulesCacheCoverageType _leanRuleCoverageType)

  Microsoft Dynamics AX 2012 R2 (SYS)
          private boolean add(
            KanbanRule _kanbanRule, 
            LeanRuleActiveDateTime _coverageValidFrom, 
            LeanRuleActiveDateTime _coverageValidTo, 
            LeanRuleCoverageType _leanRuleCoverageType)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          private boolean add(
            KanbanRule _kanbanRule, 
            LeanRuleActiveDateTime _coverageValidFrom, 
            LeanRuleActiveDateTime _coverageValidTo, 
            LeanRuleCoverageType _leanRuleCoverageType)

  Microsoft Dynamics AX 2012 (FPK)
          private boolean add(
            KanbanRule _kanbanRule, 
            LeanRuleActiveDateTime _coverageValidFrom, 
            LeanRuleActiveDateTime _coverageValidTo, 
            LeanRuleCoverageType _leanRuleCoverageType)

  Microsoft Dynamics AX 2012 (SYS)
          private boolean add(
            KanbanRule _kanbanRule, 
            LeanRuleActiveDateTime _coverageValidFrom, 
            LeanRuleActiveDateTime _coverageValidTo, 
            LeanRuleCoverageType _leanRuleCoverageType)

Run On

Server

Parameters

_kanbanRule
Type: KanbanRule Table
The KanbanRule record to add.
_coverageValidFrom
Type: LeanRuleActiveDateTime Extended Data Type
_coverageValidTo
Type: LeanRuleActiveDateTime Extended Data Type
_leanRuleCoverageType
Type: KanbanFindRulesCacheCoverageType Enumeration

Return Value

Type: boolean
true if the record was added; otherwise, false.

The result will not accept duplicates.

Optionally, only records related to a specified LeanProductionFlowReference record are inserted.

Community Additions

ADD
Show: