LeanProductionFlowTraverser Class [AX 2012]
The LeanProductionFlowTraverser class implements an algorithm that is used to scan a production flow graph and finds all KanbanFlow objects between the specified first and last activity.
| Method | Description | |
|---|---|---|
| addAdjacentElementsToList | Adds all adjacent relations of the one passed as argument to the list of stacked nodes. |
| addElementToStack | Adds a LeanActivityRelationshipWrapper element to the non-visited nodes list. |
| 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.) |
| generateAllFlows | Generates all flows that exist between the specified first and last activities. |
| generateKanbanFlowWrapper | Generates a new instance of the KanbanFlowWrapper class that is specified by the current linked list of LeanActivityRelationshipWrapper elements. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initKanbanFlow | Initializes and retrieves a KanbanFlow record that holds the information relevant to the current production flow scan. |
| initKanbanFlowValidator | Initializes the state machine for validating kanban flows. |
| initState | Initializes the state of the object. |
| isFirstActivity | Indicates whether the passed wrapper holds the first activity of the kanban flow. |
| isLastActivity | Indicates whether the passed wrapper holds the last activity of the kanban flow. |
| isRelationAllowed | Indicates whether the scanning state of the current flow allows the use of a relation. |
| new | Initializes a new instance of the LeanProductionFlowTraverser 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.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmFirstPlanPlanActivity | Gets or sets the FirstPlanPlanActivity parameter. |
| parmInCheckConnectivityMode | Gets or sets the InCheckConnectivityMode parameter. |
| parmInCrossPlanReferenceMode | Gets or sets the InCrossPlanReferenceMode parameter. |
| parmInFindFirstMode | Gets or sets the InFindFirstMode parameter. |
| parmInUseKanbanFlowsFromDatabaseMode | Gets or sets the InUseKanbanFlowsFromDatabaseMode parameter. |
| parmKanbanType | Gets or sets the KanbanType parameter. |
| parmLastPlanPlanActivity | Gets or sets the LastPlanPlanActivity parameter. |
| parmMapProdFlow | Gets or sets the MapProdFlow parameter. |
| 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.) |
| transitionCondition | Creates transition conditions for the kanban flow state machine. |
| 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.) |
| ::checkProductionFlowLoops | Checks for loops in the production flow relations. |
| ::construct | Initializes a new instance of the LeanProductionFlowTraverser class. |
| ::loadCrossProductionFlow | Loads all production flow relations from the database. |
| ::loadFromKanbanFlowWrapper | Loads all production flow relations from the database that are part of the KanbanFlowWrapper record. |
| ::loadProductionFlow | Loads all production flow relations from the database. |
| ::newKanbanFlowWrapper | Creates and retrieves an instance of the LeanProductionFlowTraverser class that is used to validate the particular flow. |
| ::newPlanPlanActivity | Creates and retrieves an instance of the leanProductionFlowTraverser class that is used to find all paths between the first and last PlanPlanActivity records. |
| ::pathExists | Indicates whether there is an existing path in the production flow between those two elements. |
| ::validateKanbanFlow | Validates the particular kanban flow. |
Community Additions
ADD
Show: