GetItems Method (OperItemSpec)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetItems() method retrieves the records of all the items and item classes that are assigned to an operation.
'Declaration
Public Shared Function GetItems( _
ByVal processId As String, _
ByVal operId As String _
) As DataSet
'Usage
Dim processId As String
Dim operId As String
Dim value As DataSet
value = OperItemSpec.GetItems(processId, operId)
Parameters
- processId
- Required. Holds the ID of a process.
- operId
- Required. Holds the ID of an operation.
Return Value
Returns a DataSet that contains records for all the items and item classes that are assigned to an operation. If no item or item class records for the operation are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
item_id |
An integer that is the ID of the item. |
|
item_desc |
A string that is the description of the item. |
|
item_class_id |
An integer that is the ID of the item class. |
|
item_class_desc |
A string that is the description of the item class. |