Update Method (StdOperStepChoice)
- Last UpdatedMar 17, 2026
- 2 minute read
The Update() method updates all columns of the specified standard operation step choice record in the Std_Oper_Step_Choice table.
'Declaration
Public Shared Sub Update( _
ByVal sessionId As Integer, _
ByVal rowId As Integer, _
ByVal operId As String, _
ByVal stepNo As Integer, _
ByVal choiceNo As Integer, _
ByVal choiceLabel As String, _
ByVal lastEditComment As DBString, _
ByRef lastEditAt As Nullable(Of Date) _
)
'Usage
Dim sessionId As Integer
Dim rowId As Integer
Dim operId As String
Dim stepNo As Integer
Dim choiceNo As Integer
Dim choiceLabel As String
Dim lastEditComment As DBString
Dim lastEditAt As Nullable(Of Date)
StdOperStepChoice.Update(sessionId, rowId, operId, stepNo, choiceNo, choiceLabel, lastEditComment, lastEditAt)
public static void Update(
int sessionId,
int rowId,
string operId,
int stepNo,
int choiceNo,
string choiceLabel,
DBString lastEditComment,
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 operation step choice record.
- operId
Required. Holds the ID of the operation to which the step belongs.
- stepNo
Required. Holds the 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.