UpdateSpecific(Int32,String,String,String,String,Nullable<Int32>,Nullable<Int32>,String,DBDateTime,Nullable<Boolean>,Nullable<Boolean>,Nullable<Boolean>,DBString,DBString,DBString,DBString,DBString,DBString,String) Method
- Last UpdatedNov 06, 2025
- 3 minute read
The UpdateSpecific() method updates selected columns for the specified process record in the Process table.
'Declaration
Public Overloads Shared Sub UpdateSpecific( _
ByVal sessionId As Integer, _
ByVal processId As String, _
ByVal processClassId As String, _
ByVal processVerId As String, _
ByVal processDesc As String, _
ByVal processLevel As Nullable(Of Integer), _
ByVal processStatus As Nullable(Of Integer), _
ByVal userId As String, _
ByVal lastInstantiated As DBDateTime, _
ByVal disassembly As Nullable(Of Boolean), _
ByVal mayOverrideRoute As Nullable(Of Boolean), _
ByVal rework As Nullable(Of Boolean), _
ByVal notes As DBString, _
ByVal spare1 As DBString, _
ByVal spare2 As DBString, _
ByVal spare3 As DBString, _
ByVal spare4 As DBString, _
ByVal lastEditComment As DBString, _
ByRef modId As String _
)
'Usage
Dim sessionId As Integer
Dim processId As String
Dim processClassId As String
Dim processVerId As String
Dim processDesc As String
Dim processLevel As Nullable(Of Integer)
Dim processStatus As Nullable(Of Integer)
Dim userId As String
Dim lastInstantiated As DBDateTime
Dim disassembly As Nullable(Of Boolean)
Dim mayOverrideRoute As Nullable(Of Boolean)
Dim rework As Nullable(Of Boolean)
Dim notes As DBString
Dim spare1 As DBString
Dim spare2 As DBString
Dim spare3 As DBString
Dim spare4 As DBString
Dim lastEditComment As DBString
Dim modId As String
Process.UpdateSpecific(sessionId, processId, processClassId, processVerId, processDesc, processLevel, processStatus, userId, lastInstantiated, disassembly, mayOverrideRoute, rework, notes, spare1, spare2, spare3, spare4, lastEditComment, modId)
public static void UpdateSpecific(
int sessionId,
string processId,
string processClassId,
string processVerId,
string processDesc,
Nullable<int> processLevel,
Nullable<int> processStatus,
string userId,
DBDateTime lastInstantiated,
Nullable<bool> disassembly,
Nullable<bool> mayOverrideRoute,
Nullable<bool> rework,
DBString notes,
DBString spare1,
DBString spare2,
DBString spare3,
DBString spare4,
DBString lastEditComment,
ref string modId
)
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 that is being updated.
- processClassId
- Optional. Holds the ID of the process class of which this process is a version.
- processVerId
- Optional. Holds the ID of the version of this process.
- processDesc
- Optional. Holds the description of this version of the process.
- processLevel
- Optional. Holds an enumeration value that identifies the process level.
- processStatus
- Optional. Holds an enumeration value that identifies the process status.
- userId
- Optional. Holds the user ID of the user who is the approver for the process. This parameter must be passed only if the process status is being changed to Approved.
- lastInstantiated
- Optional. Holds the date/time of the last time the process was used to successfully create a work order.
- disassembly
- Optional. Holds a flag that, if set to true, specifies that this process is disassembling something into its components.
- mayOverrideRoute
- Optional. Holds a flag that, if set to true, specifies that certain methods would include operations other than those immediately upstream or downstream from the current one.
- rework
- Optional. Holds a flag that, if set to true, specifies that this process is for rework, not production.
- notes
- Optional. Holds notes about this process.
- 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.
- lastEditComment
- Optional. Holds comments that describes why this record is being updated.
- modId
Required. Holds the modification ID assigned the last time this record was added or updated, for optimistic concurrency control. The passed value must match the record's modId for the record to be updated.
Output. Holds the new modification ID to identify this update of this record.
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.