AddProd(Int32,Nullable<DateTime>,String,String,String,String,String,Int32,Double,Nullable<Int32>,String,String,String,String,String,Nullable<Int32>,String,Nullable<Boolean>,String,String,String,String,String,DBString,DBString,DBString,DBString,Int32,String) Method
- Last UpdatedNov 06, 2025
- 2 minute read
'Declaration
Public Overloads Shared Sub AddProd( _
ByVal sessionId As Integer, _
ByVal eventTime As Nullable(Of Date), _
ByVal userId As String, _
ByVal entName As String, _
ByVal siteName As String, _
ByVal woId As String, _
ByVal operId As String, _
ByVal seqNo As Integer, _
ByVal qtyProd As Double, _
ByVal reasCd As Nullable(Of Integer), _
ByVal lotNo As String, _
ByVal subLotNo As String, _
ByVal toEntName As String, _
ByVal toSiteName As String, _
ByVal itemId As String, _
ByVal byproductBomPos As Nullable(Of Integer), _
ByVal extRef As String, _
ByVal applyScalingFactor As Nullable(Of Boolean), _
ByVal genealogyId As String, _
ByVal eventId As String, _
ByVal segmentRequirementId As String, _
ByVal segmentResponseId As String, _
ByVal comments As String, _
ByVal spare1 As DBString, _
ByVal spare2 As DBString, _
ByVal spare3 As DBString, _
ByVal spare4 As DBString, _
ByRef rowId As Integer, _
ByRef prodInfo As String _
)
'Usage
Dim sessionId As Integer
Dim eventTime As Nullable(Of Date)
Dim userId As String
Dim entName As String
Dim siteName As String
Dim woId As String
Dim operId As String
Dim seqNo As Integer
Dim qtyProd As Double
Dim reasCd As Nullable(Of Integer)
Dim lotNo As String
Dim subLotNo As String
Dim toEntName As String
Dim toSiteName As String
Dim itemId As String
Dim byproductBomPos As Nullable(Of Integer)
Dim extRef As String
Dim applyScalingFactor As Nullable(Of Boolean)
Dim genealogyId As String
Dim eventId As String
Dim segmentRequirementId As String
Dim segmentResponseId As String
Dim comments As String
Dim spare1 As DBString
Dim spare2 As DBString
Dim spare3 As DBString
Dim spare4 As DBString
Dim rowId As Integer
Dim prodInfo As String
JobExec.AddProd(sessionId, eventTime, userId, entName, siteName, woId, operId, seqNo, qtyProd, reasCd, lotNo, subLotNo, toEntName, toSiteName, itemId, byproductBomPos, extRef, applyScalingFactor, genealogyId, eventId, segmentRequirementId, segmentResponseId, comments, spare1, spare2, spare3, spare4, rowId, prodInfo)
public static void AddProd(
int sessionId,
Nullable<DateTime> eventTime,
string userId,
string entName,
string siteName,
string woId,
string operId,
int seqNo,
double qtyProd,
Nullable<int> reasCd,
string lotNo,
string subLotNo,
string toEntName,
string toSiteName,
string itemId,
Nullable<int> byproductBomPos,
string extRef,
Nullable<bool> applyScalingFactor,
string genealogyId,
string eventId,
string segmentRequirementId,
string segmentResponseId,
string comments,
DBString spare1,
DBString spare2,
DBString spare3,
DBString spare4,
out int rowId,
out string prodInfo
)
Parameters
- sessionId
- eventTime
- userId
- entName
- siteName
- woId
- operId
- seqNo
- qtyProd
- reasCd
- lotNo
- subLotNo
- toEntName
- toSiteName
- itemId
- byproductBomPos
- extRef
- applyScalingFactor
- genealogyId
- eventId
- segmentRequirementId
- segmentResponseId
- comments
- spare1
- spare2
- spare3
- spare4
- rowId
- prodInfo
- Required. Holds production information.