InventCostTaskController Class [AX 2012]
The InventCostTaskController class handles task scheduling when running an inventory closing which is scheduled to run in batch.
Syntax
class InventCostTaskController
Run On
Called
Methods
Method | Description | |
---|---|---|
addBundleTask | Creates a bundle task and adds it to a batch. | |
addIterationCompletionTask | Creates a iteration completion task and adds it to a batch. | |
addLedgerPostingTask | Creates a ledger posting task and adds it to a batch. | |
addLevelCompletionTask | Creates a level completion task and adds it to a batch. | |
addPrepareBatchTask | Creates batch tasks for preparing an inventory closing. | |
addPrepareCompletionTask | Creates a preparation completion task and adds it to a batch. | |
addPrepareParmTask | Creates a parameter creation task and adds it to a batch. | |
addReCalculationTask | Creates a recalculation task and adds it to a batch. | |
addTaskToBatchHeader | Initializes the batch information and adds the task to the batch header. | |
assignBundle | Creates bundle records and assign item tasks to each bundle. | |
batchHeader | Initializes a new instance of the BatchHeader class. | |
bomLevelToProcess | Determines the start level to process. | |
bomLevelWaitingBundles | Finds the level for any waiting bundles. | |
bomLevelWaitingItems | Finds the level for any waiting items. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
continueExecution | Determines whether the calculation should continue to run. | |
createBatchTasks | Creates batch task for calculation one level. | |
createBundle | Creates the bundle record. | |
createEndBatchTask | Creates batch task for ending process of an inventory closing. | |
createPrepareBatchTask | Creates batch task for preparing an inventory closing. | |
deleteBundles | Deletes all bundles associated to a inventory closing record. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getBundleSize | Returns the bundle size. | |
getFirstLevel | Gets the first level to 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.) | |
handleError | Handles errors when the inventory closing is running. | |
init | Initializes the task controller. | |
inventCostBundleTask | Initializes a new instance of the InventCostBundleTask class. | |
inventCostCalculateTask | Initializes a new instance of the InventCostCalculateTask class. | |
inventCostIterationCompletionTask | Initializes a new instance of the InventCostIterationCompletionTask class. | |
inventCostLedgerPostingTask | Initializes a new instance of the InventCostLedgerPostingTask class. | |
inventCostLevelCompletionTask | Initializes a new instance of the InventCostLevelCompletionTask class. | |
inventCostPrepareCompletionTask | Initializes a new instance of the InventCostPrepareCompletionTask class. | |
inventCostPrepareParmTask | Initializes a new instance of the InventCostPrepareParmTask class. | |
inventCostReCalculationTask | Initializes a new instance of the InventCostReCalculationTask class. | |
isInventCostBundleListCreated | Determines whether bundles has been generated. | |
isInventCostListParmCreated | Determines whether the calculation parameters has been generated. | |
isInventCostListUnbundled | Determines whether InventCostList records are bundled. | |
new | Initializes a new instance of the InventCostTaskController 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.) | |
numOfIterationToProcess | Determines the start iteration to process. | |
numOfIterationWaitingBundles | Finds the iteration for items part of waiting bundles. | |
numOfIterationWaitingItems | Finds the iteration for any waiting items. | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
parmBatchJobId | Gets or sets the BatchJobId parameter. | |
parmBatchRecId | Gets or sets the BatchRecId parameter. | |
parmRunNum | Gets or sets the RunNum parameter. | |
parmTransDate | Gets or sets the TransDate parameter. | |
parmVoucher | Gets or sets the Voucher parameter. | |
remainingItems | Determines whether any remaining items exists that has not been bundled. | |
resetBundleState | Sets the state of all bundles that are currently processing to waiting state. | |
resetIteration | Sets the iteration for the inventory closing to the iteration to process next. | |
resume | Resumes an inventory closing. | |
resumePrepareTasks | Resumes the preparation of inventory closing. | |
run | Starts an inventory closing calculation. | |
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.) | |
updateClosingRecord | Updates the InventClosing record with helpers created; which indicates that multiple calculations are executed in parallel. | |
updateIteration | Updates inventory closing record to next iteration. | |
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 InventCostTaskController class. | |
::newController | Initializes a new instance of the InventCostTaskController class. | |
::newFromParameters | Initializes a new instance of the InventCostTaskController class. |
Top
Inheritance Hierarchy
Object Class
InventCostTaskController Class
InventCostTaskControllerSingleThread Class