GetTargetWOContainsSERItems Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetTargetWOContainsSERItems() method retrieves a list of work orders that produces serialized items.
Parameters
- woId
- Optional filter parameter. Holds a work order ID.
- itemId
- Optional filter parameter. Holds the ID of an item.
- moId
- Optional filter parameter. Holds the ID of a manufacturing order.
Return Value
Returns a DataSet that contains a record for each work order that produces a serialized item, according to the optional filter parameters supplied. The record includes only one column, wo_id, which is the ID of the work order. If no matching work orders are found, an empty DataSet is returned.
This method returns a DataSet of distinct work orders that are not completed or closed, but that produce a serialized item. If an non-null value is supplied for the moId, then the work orders listed will be limited to those that are part of the manufacturing order. If a non-null value is supplied for the item ID, then the work orders will be limited to those having a job that produces this item at some operation (at BOM position 0), and consumes this item by a job that is immediately upstream to this job.