PBAItemLineType_PurchLine.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
Item number to be set on the line.
deletePBA
Type: boolean
This parameter is used to specify whether the line's configuration details should 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: