Delete Method (JobBom)
- Last UpdatedNov 06, 2025
- 1 minute read
The Delete() method deletes the specified job BOM record from the Job_Bom table.
public static void Delete(
int sessionId,
string woId,
string operId,
int seqNo,
int bomPos,
string modId
)
Parameters
- sessionId
-
Required. Holds the session ID and thus the user who is making this method call.
- woId
Required. Holds the ID of the work order for the job.
- operId
Required. Holds the ID of the operation for the job.
- seqNo
Required. Holds the operation sequence number for the job.
- bomPos
-
Required. Holds the BOM position. For by-products, this value is negative. For produced items, the BOM position is 0 and the item_id is the same as the parent_item_id. The BOM position is usually in a sequence.
- modId
Required. Holds a modification ID value to avoid data contention. The passed value must match the record's modification ID value for the record to be deleted.