GetAvailableUncompletedSNs Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetAvailableUncompletedSNs() method retrieves the lot numbers of the uncompleted serialized lots for the specified entity, work order, and job. The results can be filtered by an item and by lots that are consumed from WIP.
public static DataSet GetAvailableUncompletedSNs(
int entID,
string woID,
string operID,
int seq_no,
string itemID,
bool hardPegged
)
Parameters
- entID
- Required. Holds the ID of the entity on which the jobs were run.
- woID
- Required. Holds the ID of the work order whose uncompleted serialized lot numbers are being retrieved.
- operID
- Required. Holds the operation ID of the job whose uncompleted serialized lot numbers are being retrieved.
- seq_no
- Required. Holds the operation sequence number of the job whose uncompleted serialized lot numbers are being retrieved.
- itemID
- Required. Holds the ID of the item by which to filter the uncompleted serialized lot numbers.
- hardPegged
- Required. Holds a flag that, if set to true, filters the results by serialized lots that are consumed from WIP.
Return Value
Returns a Dataset that contains a row, which includes a lot serial number, for
each of the uncompleted serialized lots that match the specified filter.