Update Method (JobStepData)
- Last UpdatedMar 17, 2026
- 3 minute read
The Update() method updates all columns of the specified job step data record in the Job_Step_Data table.
'Declaration
Public Shared Sub Update( _
ByVal sessionId As Integer, _
ByVal rowId As Integer, _
ByVal woId As String, _
ByVal operId As String, _
ByVal seqNo As Integer, _
ByVal stepNo As Integer, _
ByVal lotNumber As String, _
ByVal subLotNumber As String, _
ByVal stateCd As Integer, _
ByVal actStartTimeUtc As Nullable(Of Date), _
ByVal actFinishTimeUtc As Nullable(Of Date), _
ByVal stepData As String, _
ByVal stepDataTimeUtc As Nullable(Of Date), _
ByVal startUserId As String, _
ByVal finishUserId As String, _
ByVal dataUserId As String, _
ByVal formDone As Boolean, _
ByVal spare1 As String, _
ByVal spare2 As String, _
ByVal spare3 As String, _
ByVal spare4 As String, _
ByVal spare5 As String, _
ByVal spare6 As String, _
ByRef lastEditAt As Date _
)
'Usage
Dim sessionId As Integer
Dim rowId As Integer
Dim woId As String
Dim operId As String
Dim seqNo As Integer
Dim stepNo As Integer
Dim lotNumber As String
Dim subLotNumber As String
Dim stateCd As Integer
Dim actStartTimeUtc As Nullable(Of Date)
Dim actFinishTimeUtc As Nullable(Of Date)
Dim stepData As String
Dim stepDataTimeUtc As Nullable(Of Date)
Dim startUserId As String
Dim finishUserId As String
Dim dataUserId As String
Dim formDone As Boolean
Dim spare1 As String
Dim spare2 As String
Dim spare3 As String
Dim spare4 As String
Dim spare5 As String
Dim spare6 As String
Dim lastEditAt As Date
JobStepData.Update(sessionId, rowId, woId, operId, seqNo, stepNo, lotNumber, subLotNumber, stateCd, actStartTimeUtc, actFinishTimeUtc, stepData, stepDataTimeUtc, startUserId, finishUserId, dataUserId, formDone, spare1, spare2, spare3, spare4, spare5, spare6, lastEditAt)
public static void Update(
int sessionId,
int rowId,
string woId,
string operId,
int seqNo,
int stepNo,
string lotNumber,
string subLotNumber,
int stateCd,
Nullable<DateTime> actStartTimeUtc,
Nullable<DateTime> actFinishTimeUtc,
string stepData,
Nullable<DateTime> stepDataTimeUtc,
string startUserId,
string finishUserId,
string dataUserId,
bool formDone,
string spare1,
string spare2,
string spare3,
string spare4,
string spare5,
string spare6,
ref DateTime lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- rowId
- Required. Holds the row ID of the job step data record.
- woId
- Required. Holds the work order ID.
- operId
- Required. Holds the operation ID.
- seqNo
- Required. Holds the operation sequence number of the job.
- stepNo
- Required. Holds the job step number.
- lotNumber
- Required. Holds the lot number of the item that results from the job.
- subLotNumber
- Required. Holds the sublot number of the item that results from the job.
- stateCd
- Required. Holds the JobStateCode enumeration that indicates the step state.
- actStartTimeUtc
- Required. Holds the UTC time the step was started.
- actFinishTimeUtc
- Required. Holds the UTC time the step was finished.
- stepData
- Required. Holds the data that was logged for the step.
- stepDataTimeUtc
- Required. Holds the UTC time the step data was entered.
- startUserId
- Required. Holds the ID of the user who started the step.
- finishUserId
- Required. Holds the ID of the user who finished the step.
- dataUserId
- Required. Holds the ID of the user who entered the step data.
- formDone
- Required. Holds the flag value that indicates whether data entry has been performed at this step.
- spare1
- Required. Holds the contents of the user-defined spare1 field.
- spare2
- Required. Holds the contents of the user-defined spare2 field.
- spare3
- Required. Holds the contents of the user-defined spare3 field.
- spare4
- Required. Holds the contents of the user-defined spare4 field.
- spare5
- Required. Holds the contents of the user-defined spare5 field.
- spare6
- Required. Holds the contents of the user-defined spare6 field.
- lastEditAt
- Required. Holds the date and time of when the record was added or last modified.