PBAItemLineType_ProdTable.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 be set on the line.
deletePBA
Type: boolean
A value that indicates whether the configuration details of the line can be deleted when you delete a line with an old item number.

Return Value

Type: PBAItemLine Map
The original line with an updated item number.

If the item line type requires a new item line in order to update the line number, the new item line is returned instead.

Community Additions

ADD
Show: