LeanCommandReplaceRule Class [AX 2012]

The LeanCommandReplaceRule class encapsulates the business logic around the creation of a replenishment rule.

Syntax

class LeanCommandReplaceRule extends LeanCommandBase

Run On

Called

Methods

  Method Description
Gg741906.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg741906.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg741906.protmethod(en-us,AX.60).gif execute Implements the rule replacement logic. (Overrides the execute Method.)
Gg741906.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg741906.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg741906.pubmethod(en-us,AX.60).gif lastInChain Finds the last element in a chain of commands (Inherited from LeanCommandBase.)
Gg741906.pubmethod(en-us,AX.60).gif linkToCommand Facilitates linking to a new command. (Inherited from LeanCommandBase.)
Gg741906.protmethod(en-us,AX.60).gif new Initializes a new instance of the LeanCommandBase class. (Inherited from LeanCommandBase.)
Gg741906.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.)
Gg741906.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.)
Gg741906.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg741906.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg741906.pubmethod(en-us,AX.60).gif parmNewRuleData Gets or sets the NewRuleData parameter.
Gg741906.pubmethod(en-us,AX.60).gif parmNextCommand Gets or sets the NextCommand parameter. (Inherited from LeanCommandBase.)
Gg741906.pubmethod(en-us,AX.60).gif parmOriginalRuleData Gets or sets the OriginalRuleData parameter.
Gg741906.pubmethod(en-us,AX.60).gif parmPreviousCommand Gets or sets the PreviousCommand parameter. (Inherited from LeanCommandBase.)
Gg741906.pubmethod(en-us,AX.60).gif parmRereadRuleData Gets or sets the RereadRuleData parameter.
Gg741906.pubmethod(en-us,AX.60).gif run Triggers the execution of the current command and transitions the execution flow to the next one in the pipeline. (Inherited from LeanCommandBase.)
Gg741906.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg741906.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg741906.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.)
Gg741906.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg741906.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg741906.protmethod(en-us,AX.60).gif Gg741906.static(en-us,AX.60).gif ::construct Initializes a new instance of the LeanCommandReplaceRule class.
Gg741906.pubmethod(en-us,AX.60).gif Gg741906.static(en-us,AX.60).gif ::getReplacedRuleValidTo Retrieves a date that should be used as the ValidTo date of a replenishment rule.
Gg741906.pubmethod(en-us,AX.60).gif Gg741906.static(en-us,AX.60).gif ::newStandard Creates and initializes a new instance of the LeanCommandReplaceRule class.

Top

Inheritance Hierarchy

Object Class
  LeanCommandBase Class
    LeanCommandReplaceRule Class