Update Method (JobStepChoice)
- Last UpdatedMar 17, 2026
- 2 minute read
The Update() method updates all columns of the specified job step choice record in the Job_Step_Choice table.
'Declaration
Public Shared Sub Update( _
ByVal sessionId As Integer, _
ByVal woId As String, _
ByVal operId As String, _
ByVal seqNo As Integer, _
ByVal stepNo As Integer, _
ByVal choiceNo As Integer, _
ByVal choiceLabel As String, _
ByVal lastEditComment As DBString, _
ByRef lastEditAt As Date, _
ByVal rowId As Integer _
)
'Usage
Dim sessionId As Integer
Dim woId As String
Dim operId As String
Dim seqNo As Integer
Dim stepNo As Integer
Dim choiceNo As Integer
Dim choiceLabel As String
Dim lastEditComment As DBString
Dim lastEditAt As Date
Dim rowId As Integer
JobStepChoice.Update(sessionId, woId, operId, seqNo, stepNo, choiceNo, choiceLabel, lastEditComment, lastEditAt, rowId)
public static void Update(
int sessionId,
string woId,
string operId,
int seqNo,
int stepNo,
int choiceNo,
string choiceLabel,
DBString lastEditComment,
ref DateTime lastEditAt,
int rowId
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- woId
- Required. Holds the ID of the work order associated with the job.
- operId
- Required. Holds the ID of the operation associated with the job.
- seqNo
- Required. Holds the operation sequence number to which the job step belongs.
- stepNo
- Required. Holds the job step number.
- choiceNo
- Required. Holds the choice number.
- choiceLabel
- Required. Holds the choice label, which indicates the step choice type.
- lastEditComment
- Required. Holds comments that describe why this record is being updated.
- lastEditAt
Optional. Holds the date/time when this record was added or last updated, for optimistic concurrency control. If it is specified, the passed value must match the lastEditAt value in the record for the update to succeed. If a null value is passed, then optimistic concurrency will not be used.
Output. Holds the date/time value when the record was updated by this called method.
- rowId
- Required. Holds the returned row ID of the job step choice record when it was added to the Job_Step_Choice table.