GetBomOperInfo Method
- Last UpdatedNov 06, 2025
- 2 minute read
The GetBomOperInfo() method retrieves all the components used in and all the by-products produced by the specified operation.
public static DataSet GetBomOperInfo(
string parentItemId,
string verId,
string processId,
string operId
)
Parameters
- parentItemId
Required. Holds the ID of the parent item.
- verId
Required. Holds the ID of the BOM version.
- processId
Required. Holds the ID of the process to which the operation belongs.
- operId
Required. Holds the ID of the operation.
Return Value
Returns a DataSet that contains includes a record for each component and by-product used or produced by the specified operation. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
ColumnName |
Description |
|---|---|
|
bom_pos |
An integer that is the BOM position. |
|
item_desc |
A string that is the description of the item. |
|
parent_item_id |
A string that is the ID of the parent item. |
|
ver_id |
A string that is a BOM version. |
|
item_id |
A string that is the ID of the item being produced or consumed. |
|
reqd_start_pct |
A floating point number that is the percentage of this component (or, if the BOM position is zero, of the input quantity of the item itself) that is required before the operation becomes ready. |
|
qty_cons_itm |
A floating point number that is the quantity of the item at this operation per unit of the current parent item fields for all versions. |
|
tot_qty_avl |
A floating point number that is the quantity of the item required per unit of the current parent item. |
|
qty_cons_at_oper |
A floating point number that is the quantity of the item at this operation per unit of the current parent item. |
|
process_id |
A string that is the ID of the process. |
|
mod_id |
The current modification ID of the record in the table. This ID is binary number that increments each time the record’s table row is modified. Optionally used for optimistic concurrency control when performing updates or deletes. |
|
num_decimals |
An integer that is the number of decimal places used for quantity values of an item. |