UpdateSpecific Method (JobStep)
- Last UpdatedNov 06, 2025
- 4 minute read
'Declaration
Public Shared Sub UpdateSpecific( _
ByVal sessionId As Integer, _
ByVal woId As String, _
ByVal operId As String, _
ByVal seqNo As Integer, _
ByVal stepNo As Integer, _
ByVal stepSeq As Nullable(Of Integer), _
ByVal stepName As DBString, _
ByVal stepDesc As String, _
ByVal actionType As Nullable(Of Integer), _
ByVal stdTime As Nullable(Of Double), _
ByVal completeCond As Nullable(Of Integer), _
ByVal allowBypass As Nullable(Of Boolean), _
ByVal enterData As Nullable(Of Boolean), _
ByVal stepGrpId As Nullable(Of Integer), _
ByVal spcChar As DBString, _
ByVal formName As DBString, _
ByVal dataLogGrpId As DBInt, _
ByVal reqdRep As Nullable(Of Double), _
ByVal controlType As Nullable(Of Integer), _
ByVal highLimit As DBDouble, _
ByVal lowLimit As DBDouble, _
ByVal limitWarning 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, _
ByVal lastEditComment As DBString, _
ByRef lastEditAt As Nullable(Of Date) _
)
'Usage
Dim sessionId As Integer
Dim woId As String
Dim operId As String
Dim seqNo As Integer
Dim stepNo As Integer
Dim stepSeq As Nullable(Of Integer)
Dim stepName As DBString
Dim stepDesc As String
Dim actionType As Nullable(Of Integer)
Dim stdTime As Nullable(Of Double)
Dim completeCond As Nullable(Of Integer)
Dim allowBypass As Nullable(Of Boolean)
Dim enterData As Nullable(Of Boolean)
Dim stepGrpId As Nullable(Of Integer)
Dim spcChar As DBString
Dim formName As DBString
Dim dataLogGrpId As DBInt
Dim reqdRep As Nullable(Of Double)
Dim controlType As Nullable(Of Integer)
Dim highLimit As DBDouble
Dim lowLimit As DBDouble
Dim limitWarning 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 lastEditComment As DBString
Dim lastEditAt As Nullable(Of Date)
JobStep.UpdateSpecific(sessionId, woId, operId, seqNo, stepNo, stepSeq, stepName, stepDesc, actionType, stdTime, completeCond, allowBypass, enterData, stepGrpId, spcChar, formName, dataLogGrpId, reqdRep, controlType, highLimit, lowLimit, limitWarning, spare1, spare2, spare3, spare4, spare5, spare6, lastEditComment, lastEditAt)
public static void UpdateSpecific(
int sessionId,
string woId,
string operId,
int seqNo,
int stepNo,
Nullable<int> stepSeq,
DBString stepName,
string stepDesc,
Nullable<int> actionType,
Nullable<double> stdTime,
Nullable<int> completeCond,
Nullable<bool> allowBypass,
Nullable<bool> enterData,
Nullable<int> stepGrpId,
DBString spcChar,
DBString formName,
DBInt dataLogGrpId,
Nullable<double> reqdRep,
Nullable<int> controlType,
DBDouble highLimit,
DBDouble lowLimit,
Nullable<bool> limitWarning,
DBString spare1,
DBString spare2,
DBString spare3,
DBString spare4,
DBString spare5,
DBString spare6,
DBString lastEditComment,
ref Nullable<DateTime> lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- woId
- Optional. Holds the ID of the work order to which the job step belongs.
- operId
- Optional. Holds the ID of the operation to which the job step belongs.
- seqNo
- Optional. Holds the operation sequence number to which the job step belongs.
- stepNo
- Optional. Holds the job step number.
- stepSeq
- Optional. Holds the job step sequence number.
- stepName
- Optional. Holds the name of the job step.
- stepDesc
- Optional. Holds the description of the job step.
- actionType
Optional. Holds an enumeration that indicates the job step's action type:
0 = Normal (default)
1 = Log data
2 = Add production
3 = Add consumption
4 = Operator acknowledge
5 = Enter form data
6 = Enter SPC data
- stdTime
- Optional. Holds the number of hours allowed for the job step.
- completeCond
Optional. Holds an enumeration that indicates the job step's complete condition:
2 = std. time elapses
3 = operator completes manually (default)
4 = message is dismissed (only allowable if actionType = 4)
- allowBypass
- Optional. Holds a flag that, if set to true, indicates that a user can bypass this step.
- enterData
- Optional. Holds a flag that, if set to true, indicates that step data can be entered.
- stepGrpId
- Optional. Holds the ID of the step group for the step.
- spcChar
- Optional. Holds the SPC characteristic to be collected at this step.
- formName
- Optional. Holds the link to an optional form (usually in a 'Forms' application) for this step.
- dataLogGrpId
- Optional. Holds the ID of the data log group for the step.
- reqdRep
- Optional. Holds the number of lots/sublots for which this step must be performed.
- controlType
- Optional. Holds the control type.
- highLimit
- Optional. If controlType = 1, holds the maximum allowable value.
- lowLimit
- Optional. If controlType = 1, holds the minimum allowable value.
- limitWarning
- Optional. If controlType = 1, holds a flag that indicates whether the limit has been reached.
- 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.
- lastEditComment
- Optional. 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.
Output. Holds the date/time value when the record was updated by this called method.
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.