PBAItemLineType_BOM.updateItemId Method [AX 2012]

Updates the item number on an item line.

public PBAItemLine updateItemId(ItemId itemId, [boolean deletePBA])

Run On

Called

Parameters

itemId
Type: ItemId Extended Data Type
The item number to set on the line.
deletePBA
Type: boolean
This parameter is used to specify whether to delete the configuration details of the line when it deletes a line with an old item number.

Return Value

Type: PBAItemLine Map
If the item line type requires a new item line in order to update the line number the new item line; otherwise, the original line with an updated item number.

Community Additions

ADD
Show: