Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Inserts a task that has a given status, level, level state, and list number (bundle).
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
public RecId insertTask(
ReqCalcTasksBundle _bundle,
[ItemId _itemId,
PmfReqTaskGroupId _taskGroupId])
Microsoft Dynamics AX 2012 R2 (SYS)
public RecId insertTask(
ReqCalcTasksBundle _bundle,
[ItemId _itemId,
PmfReqTaskGroupId _taskGroupId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void insertTask(
ReqProcessStatus _status,
[BOMLevel _level,
ReqLevelState _levelState,
ReqProcessListNum _listNum,
ItemId _itemId,
PmfReqTaskGroupId _taskGroupId])
Microsoft Dynamics AX 2012 (FPK)
public void insertTask(
ReqProcessStatus _status,
[BOMLevel _level,
ReqLevelState _levelState,
ReqProcessListNum _listNum,
ItemId _itemId])
Microsoft Dynamics AX 2012 (SYS)
public void insertTask(
ReqProcessStatus _status,
[BOMLevel _level,
ReqLevelState _levelState,
ReqProcessListNum _listNum,
ItemId _itemId])
Run On
Called
Parameters
- _bundle
Type: ReqCalcTasksBundle Table
The bundle reference.
- _itemId
Type: ItemId Extended Data Type
The item ID by which to process in the task; optional.
- _taskGroupId
Type: PmfReqTaskGroupId Extended Data Type
The task group ID by which to be process in the task; optional.
Return Value
Type: RecId Extended Data Type
The task ID.
Remarks
Use the _bundle parameter instead of the obsolete _status, _level, _levelStage, and _listNum parameters.