GetBomOperStepInfo Method
- Last UpdatedNov 06, 2025
- 2 minute read
The GetBomOperInfo() method retrieves the records of all the components that are used and the by-products that are produced by the specified operation step.
public static DataSet GetBomOperStepInfo(
string parentItemId,
string verId,
string processId,
string operId,
int stepNo
)
Parameters
- parentItemId
Required. Holds the ID of the parent item linked to the operation step.
- 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.
- stepNo
Required. Holds the number of the operation step whose components and by-products are being retrieved.
Return Value
Returns a DataSet that contains records for all the components and by-products of the specified step operation. The returned records include columns from the Bom_Item_Oper_Step_Link, Bom_Item_Oper_Link, Bom_Item, and Item tables. If no matching components or by-products 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. |
|
parent_item_id |
A string that is the parent item ID. |
|
ver_id |
A string that is the version of the BOM. |
|
item_id |
A string that is the ID of an item being produced or consumed. |
|
item_desc |
A string that is the description of an item. |
|
qty_per_parent_item |
A double-precision floating point number that is the nominal quantity of an item required per unit of the current parent item. For by-products, this value is less than zero. |
|
qty_at_step |
A double-precision floating point number that contains the nominal quantity of an item per unit of the current parent item for this step. |
|
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. |
| qty_at_all_steps |
A double-precision floating point number that is the nominal quantity of an item per unit of the current parent item for this step. |
|
Num_decimals |
An integer that specifies the numeric decimals, from the Item table. |