GetAll(Nullable<Int32>,String,String,Nullable<Int32>,Nullable<DateTime>,Nullable<DateTime>,String,String,String,String,String,Nullable<Int32>,String,Nullable<Int32>,Nullable<Int32>,Nullable<Int32>,Nullable<Int32>,Nullable<Int32>,Nullable<Boolean>,Nullable<Boolean>,Nullable<Boolean>,String,Nullable<Int32>,String,String,String,String,String,String,String,String,String,String,Nullable<DateTime>,Nullable<DateTime>) Method
- Last UpdatedNov 06, 2025
- 8 minute read
'Declaration
Public Overloads Shared Function GetAll( _
ByVal rowId As Nullable(Of Integer), _
ByVal woId As String, _
ByVal operId As String, _
ByVal seqNo As Nullable(Of Integer), _
ByVal shiftStart As Nullable(Of Date), _
ByVal hourStart As Nullable(Of Date), _
ByVal itemId As String, _
ByVal lotNo As String, _
ByVal rmLotNo As String, _
ByVal subLotNo As String, _
ByVal rmSubLotNo As String, _
ByVal reasCd As Nullable(Of Integer), _
ByVal userId As String, _
ByVal entId As Nullable(Of Integer), _
ByVal shiftId As Nullable(Of Integer), _
ByVal gradeCd As Nullable(Of Integer), _
ByVal statusCd As Nullable(Of Integer), _
ByVal toEntId As Nullable(Of Integer), _
ByVal goodProd As Nullable(Of Boolean), _
ByVal processedFlag As Nullable(Of Boolean), _
ByVal byproduct As Nullable(Of Boolean), _
ByVal extRef As String, _
ByVal moveStatus As Nullable(Of Integer), _
ByVal genealogyId As String, _
ByVal eventId As String, _
ByVal segmentRequirementId As String, _
ByVal segmentResponseId As String, _
ByVal comments As String, _
ByVal spare1 As String, _
ByVal spare2 As String, _
ByVal spare3 As String, _
ByVal spare4 As String, _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date), _
ByVal createdAt As Nullable(Of Date) _
) As DataSet
'Usage
Dim rowId As Nullable(Of Integer)
Dim woId As String
Dim operId As String
Dim seqNo As Nullable(Of Integer)
Dim shiftStart As Nullable(Of Date)
Dim hourStart As Nullable(Of Date)
Dim itemId As String
Dim lotNo As String
Dim rmLotNo As String
Dim subLotNo As String
Dim rmSubLotNo As String
Dim reasCd As Nullable(Of Integer)
Dim userId As String
Dim entId As Nullable(Of Integer)
Dim shiftId As Nullable(Of Integer)
Dim gradeCd As Nullable(Of Integer)
Dim statusCd As Nullable(Of Integer)
Dim toEntId As Nullable(Of Integer)
Dim goodProd As Nullable(Of Boolean)
Dim processedFlag As Nullable(Of Boolean)
Dim byproduct As Nullable(Of Boolean)
Dim extRef As String
Dim moveStatus As Nullable(Of Integer)
Dim genealogyId As String
Dim eventId As String
Dim segmentRequirementId As String
Dim segmentResponseId As String
Dim comments As String
Dim spare1 As String
Dim spare2 As String
Dim spare3 As String
Dim spare4 As String
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim createdAt As Nullable(Of Date)
Dim value As DataSet
value = ItemProd.GetAll(rowId, woId, operId, seqNo, shiftStart, hourStart, itemId, lotNo, rmLotNo, subLotNo, rmSubLotNo, reasCd, userId, entId, shiftId, gradeCd, statusCd, toEntId, goodProd, processedFlag, byproduct, extRef, moveStatus, genealogyId, eventId, segmentRequirementId, segmentResponseId, comments, spare1, spare2, spare3, spare4, lastEditBy, lastEditAt, createdAt)
public static DataSet GetAll(
Nullable<int> rowId,
string woId,
string operId,
Nullable<int> seqNo,
Nullable<DateTime> shiftStart,
Nullable<DateTime> hourStart,
string itemId,
string lotNo,
string rmLotNo,
string subLotNo,
string rmSubLotNo,
Nullable<int> reasCd,
string userId,
Nullable<int> entId,
Nullable<int> shiftId,
Nullable<int> gradeCd,
Nullable<int> statusCd,
Nullable<int> toEntId,
Nullable<bool> goodProd,
Nullable<bool> processedFlag,
Nullable<bool> byproduct,
string extRef,
Nullable<int> moveStatus,
string genealogyId,
string eventId,
string segmentRequirementId,
string segmentResponseId,
string comments,
string spare1,
string spare2,
string spare3,
string spare4,
string lastEditBy,
Nullable<DateTime> lastEditAt,
Nullable<DateTime> createdAt
)
Parameters
- rowId
- Optional filter parameter. Holds the row ID of an item production record to be retrieved.
- woId
- Optional filter parameter. Holds the work order ID for identifying the job that produced an item.
- operId
- Optional filter parameter. Holds the operation ID for identifying the job that produced an item.
- seqNo
- Optional filter parameter. Holds the operation sequence number for identifying the job that produced an item.
- shiftStart
- Optional filter parameter. Holds the start time of the shift during which an item was produced.
- hourStart
- Optional filter parameter. Holds the start time hour at which production occurred
- itemId
- Optional filter parameter. Holds an item ID.
- lotNo
- Optional filter parameter. Holds the lot number to which an item belongs.
- rmLotNo
- Optional filter parameter. Holds the lot number of the raw material from which this lot/sublot was produced.
- subLotNo
- Optional filter parameter. Holds the sublot number to which an item belongs.
- rmSubLotNo
- Optional filter parameter. Holds the sublot number of the raw material from which this lot/sublot was produced.
- reasCd
- Optional filter parameter. Holds a reason code that uniquely identifies grade + status of goods produced.
- userId
- Optional filter parameter. Holds the ID of the user who ran the job that produced an item.
- entId
- Optional filter parameter. Holds the ID of the entity on which the job that produced an item is running.
- shiftId
- Optional filter parameter. Holds the ID of the shift during which an item was produced.
- gradeCd
- Optional filter parameter. Holds the grade code of a produced item.
- statusCd
- Optional filter parameter. Holds the status code of a produced item.
- toEntId
- Optional filter parameter. Holds the ID of the storage entity to which the produced item was moved.
- goodProd
- Optional filter parameter. Holds a flag that specifies whether an item was designated as good production.
- processedFlag
- Optional filter parameter. Holds a flag that specifies whether an item was processed.
- byproduct
- Optional filter parameter. Holds a flag that specifies whether an item is a by-product.
- extRef
- Optional filter parameter. Holds the reference to an external system for defect tracking or any other purpose.
- moveStatus
Optional filter parameter. Holds an integer that indicates whether a lot been moved to the next operation.
0=not moved to the next operation
1=moved to the next operation
- genealogyId
- Optional filter parameter. Holds a genealogy ID.
- eventId
- Optional filter parameter. Holds an event ID.
- segmentRequirementId
- Optional filter parameter. Holds a segment requirement ID.
- segmentResponseId
- Optional filter parameter. Holds a segment response ID.
- comments
- Optional filter parameter. Holds comments about the produced item.
- spare1
- Optional filter parameter. Holds the contents of the user-defined spare1 field.
- spare2
- Optional filter parameter. Holds the contents of the user-defined spare2 field.
- spare3
- Optional filter parameter. Holds the contents of the user-defined spare3 field.
- spare4
- Optional filter parameter. Holds the contents of the user-defined spare4 field.
- lastEditBy
- Optional filter parameter. Holds the ID of a user who added or last updated this type of record.
- lastEditAt
- Optional filter parameter. Holds a date/time when this type of record was added or last updated.
- createdAt
- Optional filter parameter. Holds a date/time when this type of record was created.
Return Value
Returns a DataSet that contains all the records in the Item_Prod table that satisfy the specified filters. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
row_id |
An integer that is the row ID of the record. |
|
wo_id |
A string that is the work order ID. |
|
oper_id |
A string that is the operation ID. |
|
seq_no |
An integer that is the sequence number, which indicates the Job table row. |
|
shift_start_utc |
A datetime that is the shift start time in UTC. |
|
shift_start_local |
A datetime that is the shift start time in the local time of the entity at which the production occurred. |
|
shift_start |
A datetime that is the shift start time in the local time of the client application that is making the call. |
|
hour_start_utc |
A datetime that is the hour start time in UTC. |
|
hour_start_local |
A datetime that is the hour start time in the local time of the entity at which the production occurred. |
|
hour_start |
A datetime that is the hour start time in the local time of the client application that is making the call. |
|
item_id |
A string that is the item ID. |
|
lot_no |
A string that is the lot number. |
|
rm_lot_no |
A string that is the lot number of raw material from which this lot/sublot was produced. |
|
sublot_no |
A string that is the sublot number |
|
rm_sublot_no |
A string that is the sublot number of raw material from which this lot/sublot was produced. |
|
reas_cd |
An integer that is the reason code that uniquely identifies grade + status of goods produced. |
|
user_id |
A string that is the ID of the user who is making this production entry. |
|
user_desc |
A string that is the user description, from the User_Name table. |
|
item_desc |
A string that is the item description, from the Item table. |
|
uom_id |
A string that is the ID of the unit of measure (UOM), from the Item table. |
| serial_no_lvl_h |
An integer that indicates the level being used, lot or sublot, to indicate individual serial numbers, from the Item table. 0: The lot number is the serial number. >0: A particular sublot level is the serial number. -1: There are no serial numbers. |
|
description |
A string that is the unique description of the UOM, from the Uom table. |
|
abbreviation |
A string that is the abbreviation to append to quantities, from the Uom table. |
|
lifetime |
An integer that is the lifetime of the item before expiry, in days, from the Item table. |
|
reas_desc |
A string that is the description of the reason, from the Item_Reas table. |
|
ent_id |
An integer that is the entity ID. |
|
ent_name |
A string that is the entity name, from the Ent table. |
|
shift_id |
An integer that is the shift ID. |
|
shift_desc |
A string that is the shift description, from the Shift table. |
|
grade_cd |
An integer that is the grade code of produced goods. |
|
item_grade_desc |
A string that is the grade description, from the Item_Grade table. |
|
item_grade_color |
An integer that is the RGB background color of grade, from the Item_Grade table. |
|
status_cd |
An integer that is the status code of produced goods. |
|
item_status_desc |
A string that is the status description, from the Item_State table. |
|
item_state_color |
An integer that is the RGB background color of the item state, from the Item_State table. |
|
to_ent_id |
An integer that is the ID of the storage entity for produced goods. |
|
to_ent_name |
A string that is the entity name, from the Ent table. |
|
good_prod |
A Boolean that is a flag that specifies whether this production is good. |
|
qty_prod |
A double that is the quantity produced. |
|
qty_prod_erp |
A double that is the quantity produced value that was transfered to an ERP system. |
|
processed_flag |
An integer that is the processed flag for this lot. |
|
byproduct |
A Boolean that is a flag that specifies whether the produced item is by-product. |
|
ext_ref |
A string that is the reference to an external system for defect tracking or any other purpose. |
|
move_status |
An integer value that acts a a flag to indicate whether this lot has been moved to the next operation. |
|
genealogy_id |
A string that is the genealogy ID. |
|
event_id |
A string that is the event ID. |
|
segment_requirement_id |
A string that is the segment requirement ID. |
|
segment_response_id |
A string that is the segment response ID. |
|
comments |
A string that is the comments about the item production. |
|
spare1 – spare4 |
A string that is the contents of the user-defined spare1 through spare4 fields. |
|
item_spare1 – item_spare4 |
A string that is the contents of the user-defined spare1 through spare4 fields of the item. |
|
last_edit_comment |
A string that contains comments about why the record was added or updated. |
|
last_edit_by |
A string that is the ID of the user who added or last updated this record. |
|
last_edit_at |
A datetime that indicates when the record was added or last updated. |
|
created_at_utc |
A datetime that is when the record was created, in UTC. |
|
created_at_local |
A datetime that is when the record was created, in the local time of the entity at which the production occurred. |
|
created_at |
A datetime that is when the record was created, in the local time of the client application that is making the call. |