ReqCalcTaskController.initTask Method [AX 2012]
Inserts a task with a specified status, level, level state and list number.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
protected void initTask(
ReqCalcTask _reqCalcTask,
ReqCalcTasksBundle _bundle,
[ItemId _itemId,
PmfReqTaskGroupId _taskGroupId])
Microsoft Dynamics AX 2012 R2 (SYS)
protected void initTask(
ReqCalcTask _reqCalcTask,
ReqCalcTasksBundle _bundle,
[ItemId _itemId,
PmfReqTaskGroupId _taskGroupId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
protected void initTask(
ReqCalcTask _reqCalcTask,
ReqProcessStatus _status,
BOMLevel _level,
ReqLevelState _levelState,
[ReqProcessListNum _listNum,
ItemId _itemId,
PmfReqTaskGroupId _taskGroupId])
Microsoft Dynamics AX 2012 (FPK)
protected void initTask(
ReqCalcTask _reqCalcTask,
ReqProcessStatus _status,
BOMLevel _level,
ReqLevelState _levelState,
[ReqProcessListNum _listNum,
ItemId _itemId])
Microsoft Dynamics AX 2012 (SYS)
protected void initTask(
ReqCalcTask _reqCalcTask,
ReqProcessStatus _status,
BOMLevel _level,
ReqLevelState _levelState,
[ReqProcessListNum _listNum,
ItemId _itemId])
Run On
Called
Parameters
- _reqCalcTask
Type: ReqCalcTask Table
A ReqCalcTask record to be initialized.
- _bundle
Type: ReqCalcTasksBundle Table
A bundle reference.
- _itemId
Type: ItemId Extended Data Type
The item ID to be processed in the task; optional.
- _taskGroupId
Type: PmfReqTaskGroupId Extended Data Type
The task group ID; optional.