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 | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
execute | Implements the rule replacement logic. (Overrides the execute Method.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
lastInChain | Finds the last element in a chain of commands (Inherited from LeanCommandBase.) | |
linkToCommand | Facilitates linking to a new command. (Inherited from LeanCommandBase.) | |
new | Initializes a new instance of the LeanCommandBase class. (Inherited from LeanCommandBase.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
parmNewRuleData | Gets or sets the NewRuleData parameter. | |
parmNextCommand | Gets or sets the NextCommand parameter. (Inherited from LeanCommandBase.) | |
parmOriginalRuleData | Gets or sets the OriginalRuleData parameter. | |
parmPreviousCommand | Gets or sets the PreviousCommand parameter. (Inherited from LeanCommandBase.) | |
parmRereadRuleData | Gets or sets the RereadRuleData parameter. | |
run | Triggers the execution of the current command and transitions the execution flow to the next one in the pipeline. (Inherited from LeanCommandBase.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::construct | Initializes a new instance of the LeanCommandReplaceRule class. | |
::getReplacedRuleValidTo | Retrieves a date that should be used as the ValidTo date of a replenishment rule. | |
::newStandard | Creates and initializes a new instance of the LeanCommandReplaceRule class. |
Top
Inheritance Hierarchy
Object Class
LeanCommandBase Class
LeanCommandReplaceRule Class