InventCostTaskController.createEndBatchTask Method [AX 2012]
Creates batch task for ending process of an inventory closing.
Syntax
protected void createEndBatchTask(BatchHeader _batchHeader, InventCostRunRecalculation _runRecalculation)
Run On
Called
Parameters
- _batchHeader
Type: BatchHeader Class
The instance of the BatchHeader class.
- _runRecalculation
Type: InventCostRunRecalculation Extended Data Type
A boolean value that indicates whether recalculation should be run.
Remarks
A InventCostLedgerPostingTask task will be created.
In case of recalculation the InventCostReCalculationTask task will be added to the batch with a dependency to the InventCostLedgerPostingTask task.