LeanRuleStatusBase Class [AX 2012]

The LeanRuleStatusBase class provides a status-dependent API to the rule. As a base class it also contains some default implementation for several methods.

Syntax

class LeanRuleStatusBase implements LeanRuleTypeProtectedInterface

Run On

Called

Methods

  Method Description
Gg760573.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif canTrigger Determines whether a rule can be triggered.
Gg760573.pubmethod(en-us,AX.60).gif delete Deletes all kanban rule related records in the database.
Gg760573.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif getActiveRule Retrieves the record ID of the currently active rule.
Gg760573.pubmethod(en-us,AX.60).gif getCardsQuery Retrieves a query which can be used to get the cards that belong to a rule.
Gg760573.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif hasActiveKanbans Determines whether the rule has any active kanbans.
Gg760573.pubmethod(en-us,AX.60).gif initFields Initializes the fields default data.
Gg760573.pubmethod(en-us,AX.60).gif initializeContext Initializes the context of the interface with the context on which it operates.
Gg760573.pubmethod(en-us,AX.60).gif isOutdated Specifies whether a rule is outdated.
Gg760573.pubmethod(en-us,AX.60).gif modifiedField Handles the change in a field value.
Gg760573.protmethod(en-us,AX.60).gif new Initializes a new instance of the LeanRuleStatusBase class.
Gg760573.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif onKanbanFlowChanged Handles a change in the kanban flow.
Gg760573.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif reassignCard Handles the reassignment of a kanban card record.
Gg760573.pubmethod(en-us,AX.60).gif refreshLeadTime Refreshes the lead time for the kanban rule.
Gg760573.pubmethod(en-us,AX.60).gif setProtectedElement Sets the value of the protected element.
Gg760573.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif update Updates the rule record in the database.
Gg760573.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg760573.protmethod(en-us,AX.60).gif validateCoverage Validates whether a change of the kanban flow is possible.
Gg760573.protmethod(en-us,AX.60).gif validateFlow Validates whether a change of the kanban flow is possible.
Gg760573.protmethod(en-us,AX.60).gif validateTypes Validates whether a change of the kanban type or the replenishment strategy is possible.
Gg760573.pubmethod(en-us,AX.60).gif validateWrite Validates the writing of a particular type object.
Gg760573.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg760573.pubmethod(en-us,AX.60).gif write Persists a kanban rule and all its related entities.
Gg760573.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg760573.privmethod(en-us,AX.60).gif Gg760573.static(en-us,AX.60).gif ::createRuleTimeStatus Creates and returns a rule time-dependent LeanRuleStatusBase object.
Gg760573.privmethod(en-us,AX.60).gif Gg760573.static(en-us,AX.60).gif ::createRuleTimeStatusInt Creates and returns a rule LeanRuleStatusBase object that is time dependent.
Gg760573.pubmethod(en-us,AX.60).gif Gg760573.static(en-us,AX.60).gif ::newLeanRuleData Creates and returns a LeanRuleStatusBase object for new rules (not being persisted yet).
Gg760573.pubmethod(en-us,AX.60).gif Gg760573.static(en-us,AX.60).gif ::newRuleBuffer Creates and returns a LeanRuleStatusBase object from an existing rule buffer.

Top

Inheritance Hierarchy

Object Class
  LeanRuleStatusBase Class
    LeanRuleStatusActive Class
    LeanRuleStatusExpired Class
    LeanRuleStatusInactive Class
    LeanRuleStatusNew Class