LeanRuleData Class [AX 2012]
The LeanRuleData class represents the state of a replenishment rule.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| clear | Clears all buffers. |
| duplicate | Creates a LeanRuleData object which buffers contain duplicated version of all buffers except for the KanbanFlow buffer and InventDim buffer. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hasActiveKanbans | Checks if the rule has active kanbans. |
| initialized | Indicates whether an object initialization is completed. |
| initializeFromCommon | Initializes the appropriate member of the class from the buffer. |
| kanbanFlow | Finds the KanbanFlow record for the current instance of the LeanRuleDataclass. |
| lazyLoadMode | Sets a parameter for the lazyLoadMode class member. |
| leanKanbanType | Determines the kanban type for Kanban records to be created from the current rule. |
| maxQty | Determines the maximum quantity for a kanban according to the kanban rule. |
| minQty | Determines the minimum quantity according to the kanban rule. |
| new | Initializes a new instance of the LeanRuleData class. (Overrides the new Method.) |
| 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.) |
| orig | Returns the original LeanRuleData class, with the original values of the object buffers. |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| pack | |
| parmInventDim | Gets or sets the InventDim parameter. |
| parmKanbanFlowWrapper | Gets or sets the KanbanFlowWrapper parameter. |
| parmKanbanRule | Gets or sets the KanbanRule parameter. |
| parmKanbanRuleEvent | Gets or sets the KanbanRuleEvent parameter. |
| parmKanbanRuleFixed | Gets or sets the KanbanRuleFixed parameter. |
| parmKanbanRuleVariable | Gets or sets the KanbanRuleVariable parameter. |
| parmLeanCoverage | Gets or sets the LeanCoverage parameter. |
| parmLeanCoverageKanbanRule | Gets or sets the LeanCoverageKanbanRule parameter. |
| replenishmentStrategy | Retrieves the replenishment strategy that is associated with the kanban rule. |
| resetRecId | Resets the record ID of all buffers. |
| selectedReplacedKanbanRule | Retrieves the replaced kanban rule select by the user. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| shouldSerialize | Returns whether the object has to be serialized. |
| status | Retrieves a status object for the current LeanRuleData object. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| type | Retrieves a type object for the current LeanRuleData object. |
| unpack | |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validFrom | Determines the valid from date of the kanban rule. |
| validityPeriodCheck | Validates that a given period overlaps with the validity period of the current LeanRuleData object. |
| validTo | Determines the valid to date of the kanban rule. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Creates an instance of the class. |
| ::newBuffers | Creates an instance of the LeanRuleData class from the specified buffers that were passed as parameters. |
| ::newContainer | Creates an instance of the class to be filled in with data from a LeanRuleData class that is already serialized. |
| ::newKanbanRuleRecId | Creates an instance of the LeanRuleData class filled in with the data from an existing kanban rule. |
| ::newLeanRuleDataOrig | Creates a LeanRuleData object filled in with the original buffer data. |
| ::newStandard | Creates an instance of the class filled in with the data from an existing kanban rule and updates the stored buffer with the current (unsaved) one. |
Community Additions
ADD
Show: