GetComplSNos Method
- Last UpdatedNov 06, 2025
- 2 minute read
The GetComplSNos() method retrieves a list of completed serial numbers.
Parameters
- woId
- Required. Holds the ID of the work order that produced this item/used this serial number.
- operId
- Required. Holds the operation ID for the job.
- seqNo
- Required. Holds the job sequence number.
- itemId
- Required. Holds the ID of the item.
Return Value
Returns a DataSet that contains records for the completed serial numbers. If there are no completed serial numbers, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
serial_no |
A string that is the serial number, from the item_prod.lot_no column for this job. |
|
reas_cd |
An integer that is the item reason code (uniquely identifies grade + status of goods produced), from the item_prod.reas_cd column for this job. |
|
reas_desc |
A string that is the description of item reason, from the item_reas.reas_desc column linked to the item_prod.reas_cd column for this job. |
|
qty_prod |
A double floating point that is the amount of quantity produced for this item by this job. |
Those serial numbers that have been completed at the current operation (i.e., have item_prod records totaling 1 for the current work order and operation) will be included in the DataSet. Additionally, if linear flow is true for this work order, serial numbers completed at the current operation are not included in the DataSet when those serial numbers have already been consumed at the next downstream operation to prevent the user to uncomplete a serial number, even though the user had the uncomplete privilege.