ChangeProducedItem Method
- Last UpdatedNov 06, 2025
- 1 minute read
The ChangeProducedItem() method changes the BOM zero item for the specified BOM item/operation record in the Bom_Item_Oper_Link table.
public static void ChangeProducedItem(
int sessionId,
string processId,
string operId,
string oldItemId,
string oldVerId,
string newItemId,
string newVerId
)
Parameters
- sessionId
Required. Holds the session ID and thus the user who is making this method call.
- processId
- Required. Holds the ID of the process to which the operation belongs.
- operId
- Required. Holds the ID of the operation that is being linked to an item.
- oldItemId
- Required. Holds the ID of the current BOM zero item.
- oldVerId
- Required. Holds the version ID of the current BOM zero item.
- newItemId
- Required. Holds the ID of the new BOM zero item.
- newVerId
- Required. Holds the version ID of the new BOM zero item.