UpdateSpecific Method (JobStepData)
- Last UpdatedNov 06, 2025
- 3 minute read
The UpdateSpecific() method updates selected columns of the specified job step data record in the Job_Step_Data table.
'Declaration
Public Shared Sub UpdateSpecific( _
ByVal sessionId As Integer, _
ByVal rowId As Integer, _
ByVal woId As String, _
ByVal operId As String, _
ByVal seqNo As Nullable(Of Integer), _
ByVal stepNo As Nullable(Of Integer), _
ByVal lotNumber As DBString, _
ByVal subLotNumber As DBString, _
ByVal stateCd As Nullable(Of Integer), _
ByVal actStartTimeUtc As DBDateTime, _
ByVal actFinishTimeUtc As DBDateTime, _
ByVal stepData As DBString, _
ByVal stepDataTimeUtc As DBDateTime, _
ByVal startUserId As DBString, _
ByVal finishUserId As DBString, _
ByVal dataUserId As DBString, _
ByVal formDone As Nullable(Of Boolean), _
ByVal spare1 As DBString, _
ByVal spare2 As DBString, _
ByVal spare3 As DBString, _
ByVal spare4 As DBString, _
ByVal spare5 As DBString, _
ByVal spare6 As DBString, _
ByRef lastEditAt As Nullable(Of Date) _
)
'Usage
Dim sessionId As Integer
Dim rowId As Integer
Dim woId As String
Dim operId As String
Dim seqNo As Nullable(Of Integer)
Dim stepNo As Nullable(Of Integer)
Dim lotNumber As DBString
Dim subLotNumber As DBString
Dim stateCd As Nullable(Of Integer)
Dim actStartTimeUtc As DBDateTime
Dim actFinishTimeUtc As DBDateTime
Dim stepData As DBString
Dim stepDataTimeUtc As DBDateTime
Dim startUserId As DBString
Dim finishUserId As DBString
Dim dataUserId As DBString
Dim formDone As Nullable(Of Boolean)
Dim spare1 As DBString
Dim spare2 As DBString
Dim spare3 As DBString
Dim spare4 As DBString
Dim spare5 As DBString
Dim spare6 As DBString
Dim lastEditAt As Nullable(Of Date)
JobStepData.UpdateSpecific(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 UpdateSpecific(
int sessionId,
int rowId,
string woId,
string operId,
Nullable<int> seqNo,
Nullable<int> stepNo,
DBString lotNumber,
DBString subLotNumber,
Nullable<int> stateCd,
DBDateTime actStartTimeUtc,
DBDateTime actFinishTimeUtc,
DBString stepData,
DBDateTime stepDataTimeUtc,
DBString startUserId,
DBString finishUserId,
DBString dataUserId,
Nullable<bool> formDone,
DBString spare1,
DBString spare2,
DBString spare3,
DBString spare4,
DBString spare5,
DBString spare6,
ref Nullable<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
- Optional. Holds the ID of the work order to which the job step data belongs.
- operId
- Optional. Holds the ID of the operation to which the job step data belongs.
- seqNo
- Optional. Holds the operation sequence number to which the job step data belongs.
- stepNo
- Optional. Holds the job step number.
- lotNumber
- Optional. Holds the lot number of the item that results from the job.
- subLotNumber
- Optional. Holds the sublot number of the item that results from the job.
- stateCd
- Optional. Holds the JobStateCode enumeration that indicates the step state.
- actStartTimeUtc
- Optional. Holds the UTC time the step was started.
- actFinishTimeUtc
- Optional. Holds the UTC time the step was finished.
- stepData
- Optional. Holds the data that was logged for the step.
- stepDataTimeUtc
- Optional. Holds the UTC time the step data was entered.
- startUserId
- Optional. Holds the ID of the user who started the step.
- finishUserId
- Optional. Holds the ID of the user who finished the step.
- dataUserId
- Optional. Holds the ID of the user who entered the step data.
- formDone
- Optional. Holds the flag value that indicates whether data entry has been performed at this step.
- spare1
- Optional. Holds the contents of the user-defined spare1 field.
- spare2
- Optional. Holds the contents of the user-defined spare2 field.
- spare3
- Optional. Holds the contents of the user-defined spare3 field.
- spare4
- Optional. Holds the contents of the user-defined spare4 field.
- spare5
- Optional. Holds the contents of the user-defined spare5 field.
- spare6
- Optional. Holds the contents of the user-defined spare6 field.
- lastEditAt
- Optional. Holds the date and time of when the record was added or last modified.
Observe the following input parameter rules:
- Optional non-DB* parameters: Either enter a new value or leave the existing value unchanged by passing a null.
- Optional DB* parameters: To clear the existing value and enter an empty value, pass DB*.null (e.g., DBInt.null). To leave the existing value unchanged, pass a null.