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 | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
canTrigger | Determines whether a rule can be triggered. | |
delete | Deletes all kanban rule related records in the database. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getActiveRule | Retrieves the record ID of the currently active rule. | |
getCardsQuery | Retrieves a query which can be used to get the cards that belong to a rule. | |
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 | Determines whether the rule has any active kanbans. | |
initFields | Initializes the fields default data. | |
initializeContext | Initializes the context of the interface with the context on which it operates. | |
isOutdated | Specifies whether a rule is outdated. | |
modifiedField | Handles the change in a field value. | |
new | Initializes a new instance of the LeanRuleStatusBase class. | |
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.) | |
onKanbanFlowChanged | Handles a change in the kanban flow. | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
reassignCard | Handles the reassignment of a kanban card record. | |
refreshLeadTime | Refreshes the lead time for the kanban rule. | |
setProtectedElement | Sets the value of the protected element. | |
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.) | |
update | Updates the rule record in the database. | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
validateCoverage | Validates whether a change of the kanban flow is possible. | |
validateFlow | Validates whether a change of the kanban flow is possible. | |
validateTypes | Validates whether a change of the kanban type or the replenishment strategy is possible. | |
validateWrite | Validates the writing of a particular type object. | |
wait | Pauses a process. (Inherited from Object.) | |
write | Persists a kanban rule and all its related entities. | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::createRuleTimeStatus | Creates and returns a rule time-dependent LeanRuleStatusBase object. | |
::createRuleTimeStatusInt | Creates and returns a rule LeanRuleStatusBase object that is time dependent. | |
::newLeanRuleData | Creates and returns a LeanRuleStatusBase object for new rules (not being persisted yet). | |
::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