AddProdPostExec(String,Int32,Double,String,String,Int32,DateTime,Nullable<DateTime>,Int32,String,Object,String,Object,Object,Object,String,Object,String,String,String,String) Method
- Last UpdatedNov 06, 2025
- 2 minute read
The AddProdPostExec() method adds production data for the specified job after the job has run on the specified entity.
This overload of the method includes the hourStart input parameter.
'Declaration
Public Overloads Shared Sub AddProdPostExec( _
ByVal userID As String, _
ByVal entID As Integer, _
ByVal qty As Double, _
ByVal woID As String, _
ByVal operID As String, _
ByVal seqNo As Integer, _
ByVal shiftStart As Date, _
ByVal hourStart As Nullable(Of Date), _
ByVal shiftID As Integer, _
ByVal itemID As String, _
ByVal reasCd As Object, _
ByVal lotNo As String, _
ByVal toEntID As Object, _
ByVal processed As Object, _
ByVal byProduct As Object, _
ByVal extRef As String, _
ByVal moveStatus As Object, _
ByVal spare1 As String, _
ByVal spare2 As String, _
ByVal spare3 As String, _
ByVal spare4 As String _
)
public static void AddProdPostExec(
string userID,
int entID,
double qty,
string woID,
string operID,
int seqNo,
DateTime shiftStart,
Nullable<DateTime> hourStart,
int shiftID,
string itemID,
object reasCd,
string lotNo,
object toEntID,
object processed,
object byProduct,
string extRef,
object moveStatus,
string spare1,
string spare2,
string spare3,
string spare4
)
Parameters
- userID
- Required. Holds the ID of the user to whom to attribute production.
- entID
- Required. Holds the ID of the entity on which the job ran.
- qty
- Required. Holds the production quantity being added.
- woID
- Required. Holds the ID of the work order.
- operID
- Required. Holds the ID of the operation.
- seqNo
- Required. Holds the sequence number of the operation.
- shiftStart
- Required. Holds the start of the shift during which production occurred.
- hourStart
- Required. Holds the start of the hour during which production occurred.
- shiftID
- Required. Holds the ID of the shift.
- itemID
- Optional. Holds the ID of the item being produced. Set to null if not used.
- reasCd
- Optional. Holds the item reason code for the quantity produced. Set to null if not used.
- lotNo
- Optional. Holds the lot number for the quantity produced. Set to null if not used.
- toEntID
- Optional. Holds the ID of the storage entity to which the quantity was produced. Set to null if not used.
- processed
- Optional. Holds the flag to mark whether the quantity was processed. Set to null if not used.
- byProduct
- Optional. Holds the flag that indicates whether a by-product was produced. Set to null if not used.
- extRef
- Optional. Holds the external reference. Set to null if not used.
- moveStatus
- Optional. Holds the move status. Set to null if not used.
- spare1
- Optional. Holds a value for spare1. Set to null if not used.
- spare2
- Optional. Holds a value for spare2. Set to null if not used.
- spare3
- Optional. Holds a value for spare3. Set to null if not used.
- spare4
- Optional. Holds a value for spare4. Set to null if not used.