UpdateStepData Method
- Last UpdatedNov 06, 2025
- 3 minute read
The UpdateStepData() method updates an existing Job_Step_Data record for the specified step. A step is identified by a work order ID, an operation ID, an operation sequence number, and a step number.
'Declaration
Public Sub UpdateStepData( _
ByVal stepNo As Integer, _
ByVal lotNo As Object, _
ByVal lastEditAt As String, _
ByVal stateCd As Object, _
ByVal actStartTime As Object, _
ByVal actFinishTime As Object, _
ByVal stepData As Object, _
ByVal stepDataTime As Object, _
ByVal startUserID As Object, _
ByVal finishUserID As Object, _
ByVal dataUserID As Object, _
ByVal formDone As Object, _
ByVal spare1 As Object, _
ByVal spare2 As Object, _
ByVal spare3 As Object, _
ByVal spare4 As Object, _
ByVal spare5 As Object, _
ByVal spare6 As Object, _
ByVal rowID As Integer _
)
public void UpdateStepData(
int stepNo,
object lotNo,
string lastEditAt,
object stateCd,
object actStartTime,
object actFinishTime,
object stepData,
object stepDataTime,
object startUserID,
object finishUserID,
object dataUserID,
object formDone,
object spare1,
object spare2,
object spare3,
object spare4,
object spare5,
object spare6,
int rowID
)
Parameters
- stepNo
- Required. Holds the number of the step.
- lotNo
- Required. Holds the lot number on which the step was performed.
- lastEditAt
- Optional. Holds a DateTime value to avoid data contention. If it is specified, the passed value must match the lastEditAt value in the database for the update to succeed.
- stateCd
- Optional. Holds the state of the step. Set to null to not change this parameter.
- actStartTime
- Optional. Holds the start time for the step. Set to null to not change this parameter.
- actFinishTime
- Optional. Holds the finish time for the step. Set to null to not change this parameter.
- stepData
- Optional. Holds the data for the step. Set to null to not change this parameter.
- stepDataTime
- Optional. Holds the time that the step data was taken. Set to null to not change this parameter.
- startUserID
- Optional. Holds the ID of the user who started the step. Set to null to not change this parameter.
- finishUserID
- Optional. Holds the ID of the user who finished the step. Set to null to not change this parameter.
- dataUserID
- Optional. Holds the ID of the user who reordered the data. Set to null to not change this parameter.
- formDone
- Optional. Holds a flag that, if set to true, indicates that the step form is done. Set to null to not change this parameter.
- spare1
- Optional. Holds the spare1 value. Set to null to not change this parameter.
- spare2
- Optional. Holds the spare2 value. Set to null to not change this parameter.
- spare3
- Optional. Holds the spare3 value. Set to null to not change this parameter.
- spare4
- Optional. Holds the spare4 value. Set to null to not change this parameter.
- spare5
- Optional. Holds the spare5 value. Set to null to not change this parameter.
- spare6
- Optional. Holds the spare6 value. Set to null to not change this parameter.
- rowID
- Required. Holds the key to the job_step_data record.