Update Method (OperStepGroup)
- Last UpdatedNov 06, 2025
- 2 minute read
The Update() method updates all columns of the specified operation step group record in the Oper_Step_Grp table.
'Declaration
Public Shared Sub Update( _
ByVal sessionId As Integer, _
ByVal processId As String, _
ByVal operId As String, _
ByVal stepGrpId As Integer, _
ByVal stepGrpDesc As String, _
ByVal stepGrpSeq As Integer, _
ByVal repeatability As Integer, _
ByVal lastEditComment As DBString, _
ByRef lastEditAt As Date _
)
'Usage
Dim sessionId As Integer
Dim processId As String
Dim operId As String
Dim stepGrpId As Integer
Dim stepGrpDesc As String
Dim stepGrpSeq As Integer
Dim repeatability As Integer
Dim lastEditComment As DBString
Dim lastEditAt As Date
OperStepGroup.Update(sessionId, processId, operId, stepGrpId, stepGrpDesc, stepGrpSeq, repeatability, lastEditComment, lastEditAt)
public static void Update(
int sessionId,
string processId,
string operId,
int stepGrpId,
string stepGrpDesc,
int stepGrpSeq,
int repeatability,
DBString lastEditComment,
ref DateTime lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- processId
- Required. Holds the ID of the process to which the operation belongs.
- operId
- Required. Holds the ID of the operation to which the step group belongs.
- stepGrpId
- Required. Holds the ID of the step group.
- stepGrpDesc
- Required. Holds the description of the step group.
- stepGrpSeq
- Required. Holds the sequence number for performing the step group. The same sequence number means step groups can be performed concurrently.
- repeatability
Required. Holds an enumeration that indicates the repeatability of steps in the step group:
0 = steps can be performed only once during the execution of the job, as for setup and teardown steps.
1 = steps should be repeated for each lot that is produced (the default).- lastEditComment
- Required. Holds comments that describe why this record is being updated.
- lastEditAt
Required. Holds the date/time when this record was added or last updated, for optimistic concurrency control. The passed value must match the lastEditAt value in the record for the update to succeed.
Output. Holds the date/time value when the record was updated by this called method.