ReqCalcTaskController Class [AX 2012]
The ReqCalcTaskController class assigns master planning tasks to master planning threads and manages the synchronization of the tasks being assigned.
| Method | Description | |
|---|---|---|
| assignBundle | Assigns a bundle to a thread. |
| assignTask | Assigns a task to a record. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| continueTaskQuery | Checks whether the task query should continue when assigning tasks. |
| createBundle | Creates a bundle record. |
| deleteAllBundlesAndTasks | Deletes all the bundles and associated tasks. |
| deleteAllTasks | Deletes all the tasks for a given process. |
| endTask | Ends a task by setting the end time to the current time. |
| endTaskBundle | Ends a task bundle. |
| endTransaction | Ends a transaction on a separate connection. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| flushTaskTrace | Writes the task trace to the database. |
| getBundleSize | Retrieves a bundle size. |
| getCurrentBundleTask | Retrieves a bundle task. |
| getStatusRuntime | Computes the runtime for a several phases of the master planning process. |
| getThreadCount | Gets the number of threads that were used during the processing of tasks for the current process. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initTask | Inserts a task with a specified status, level, level state and list number. |
| insertTask | Inserts a task that has a given status, level, level state, and list number (bundle). |
| insertTaskAndBundle | Inserts a task and an associated bundle. |
| insertTaskBundlesForItems | Inserts the bundles tasks for the items. |
| new | Initializes a new instance of the ReqCalcTaskController 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.) |
| parmPollingInterval | Gets or sets the PollingInterval parameter. |
| parmProcessId | Gets or sets the ProcessId parameter. |
| parmReqPlanId | Gets or sets the ReqPlanId parameter. |
| parmThreadId | Gets or sets the ThreadId parameter. |
| pmfAddTaskGroupId | Registers the task group as added. |
| pmfExistTaskGroupId | Determines whether a task that has the given task group ID already exists. |
| pmfTaskGroupLevelKey | Generates a combined key for a level and task group. |
| readBundleTasks | Iterates through the tasks of a bundle. |
| resetAssignedNotCompletedBundles | Retrieves the bundles that are assigned to a thread and are not completed. |
| resetAssignedNotCompletedTasks | Reverts the assignment status of the tasks that are in progress for a given thread. |
| resetTaskGroupIds | Resets the list of task groups. |
| saveTaskToTrace | Writes a task to the task trace. |
| selectBundleNotEnded | Selects a not ended bundle. |
| selectPreviousTaskBundleNotEnded | Retrieves a non-ended bundle on the previous bundle level. |
| selectPreviousTaskNotEnded | Selects a previous task that is still processing. |
| selectTaskNotEnded | Selects a task that has not finished processing. |
| setTaskBundleAsRunning | Sets a task bundle to a running state. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| startTransaction | Starts a transaction on a separate connection. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| updateTaskFromBundle | Updates a task record from a bundle record. |
| 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 ReqCalcTaskController class. |
| ::newController | Initializes a new instance of the ReqCalcTaskController class. |
Community Additions
ADD
Show: