GetSrcWOFromSerItems Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetSrcWOFromSerItems() method retrieves a list of work orders that have jobs that produce a serialized item that is still in the inventory.
'Declaration
Public Shared Function GetSrcWOFromSerItems( _
ByVal itemId As String, _
ByVal moId As String _
) As DataSet
'Usage
Dim itemId As String
Dim moId As String
Dim value As DataSet
value = StorageExec.GetSrcWOFromSerItems(itemId, moId)
Parameters
- itemId
- Optional filter parameter. Holds the ID of an item. To not include this parameter as a filter, pass a null.
- moId
- Optional. Holds the ID of a manufacturing order that is linked to a work order.
Return Value
Returns a DataSet that contains a record for each work order that match the supplied filters. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet is described below.
|
Column Name |
Description |
|---|---|
|
wo_id |
A string that is the ID of the work order from the inventory (item_inv) that produces serialized items that are still in the inventory with positive quantities. |