GetItemProdAtOper Method
- Last UpdatedNov 06, 2025
- 2 minute read
The GetItemProdAtOper() method retrieves all items produced at the specified process and operation.
'Declaration
Public Shared Function GetItemProdAtOper( _
ByVal processId As String, _
ByVal operId As String, _
ByVal itemId As String, _
ByVal itemProduced As Nullable(Of Boolean) _
) As DataSet
public static DataSet GetItemProdAtOper(
string processId,
string operId,
string itemId,
Nullable<bool> itemProduced
)
Parameters
- processId
- Required. Holds the ID of the process.
- operId
- Required. Holds the ID of the operation.
- itemId
- Required. Holds the ID of the item.
- itemProduced
- Optional. Holds a flag that, if set to true, specifies that only items produced at the preferred version should be returned.
Return Value
Returns a DataSet that contains all items produced at the specified process and operation. If no matching items are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
parent_item_id |
A string that is the ID of the parent item of the item being produced. |
|
parent_ver_id |
A string that is the ID of the parent item version of the item being produced. |
|
item_id |
A string that is the ID of the item being produced. |
|
ver_id |
A string that is the ID of the version of the bill of material. |
|
ver_comments |
A string that is the version comment. |
|
item_prod |
A string that is the item produced. |
This method lists all possible items that can be produced by a process at a specific operation. The item_prod column in the returned DataSet indicates the item being produced by the given operation. If the itemProduced flag is true, then the DataSet returns only the items that are produced at a specific operation along with all the preferred versions for the produced items.