Delete Method (BomItemSubst)
- Last UpdatedNov 06, 2025
- 1 minute read
The Delete() method deletes the specified BOM item substitute record from the Bom_Item_Subst table.
public static void Delete(
int sessionId,
string parentItemId,
string verId,
int bomPos,
int altNo
)
Parameters
- sessionId
Required. Holds the session ID and thus the user who is making this method call.
- parentItemId
Required. Holds the ID of the parent item.
- verId
Required. Holds the ID of the BOM version.
- bomPos
Required. Holds the BOM position (usually sequential). For by-products, this value is negative. For this item being produced, the BOM position is 0, in which case the item_id is the same as the parent_item_id.
- altNo
Required. Holds the alternative number for the BOM position.