UpdateSpecific Method (DataLog16)
- Last UpdatedNov 06, 2025
- 4 minute read
The UpdateSpecific() method updates selected columns for the specified data log record in the Data_Log table.
Note: The methods in the DataLog16 class should not be used. They have been replaced by the DataLog class methods.
'Declaration
Public Shared Sub UpdateSpecific( _
ByVal sessionId As Integer, _
ByVal rowId As Integer, _
ByVal grpId As Nullable(Of Integer), _
ByVal sampleTimeLocal As Nullable(Of Date), _
ByVal woId As DBString, _
ByVal operId As DBString, _
ByVal seqNo As DBInt, _
ByVal stepNo As DBInt, _
ByVal itemId As DBString, _
ByVal lotNo As DBString, _
ByVal sublotNo As DBString, _
ByVal shiftStartLocal As Nullable(Of Date), _
ByVal shiftId As Nullable(Of Integer), _
ByVal entId As DBInt, _
ByVal genealogyId As DBString, _
ByVal segmentRequirementId As DBString, _
ByVal segmentResponseId As DBString, _
ByVal value1 As DBString, _
ByVal value2 As DBString, _
ByVal value3 As DBString, _
ByVal value4 As DBString, _
ByVal value5 As DBString, _
ByVal value6 As DBString, _
ByVal value7 As DBString, _
ByVal value8 As DBString, _
ByVal value9 As DBString, _
ByVal value10 As DBString, _
ByVal value11 As DBString, _
ByVal value12 As DBString, _
ByVal value13 As DBString, _
ByVal value14 As DBString, _
ByVal value15 As DBString, _
ByVal value16 As DBString, _
ByVal lastEditComment As DBString, _
ByRef lastEditAt As Nullable(Of Date) _
)
'Usage
Dim sessionId As Integer
Dim rowId As Integer
Dim grpId As Nullable(Of Integer)
Dim sampleTimeLocal As Nullable(Of Date)
Dim woId As DBString
Dim operId As DBString
Dim seqNo As DBInt
Dim stepNo As DBInt
Dim itemId As DBString
Dim lotNo As DBString
Dim sublotNo As DBString
Dim shiftStartLocal As Nullable(Of Date)
Dim shiftId As Nullable(Of Integer)
Dim entId As DBInt
Dim genealogyId As DBString
Dim segmentRequirementId As DBString
Dim segmentResponseId As DBString
Dim value1 As DBString
Dim value2 As DBString
Dim value3 As DBString
Dim value4 As DBString
Dim value5 As DBString
Dim value6 As DBString
Dim value7 As DBString
Dim value8 As DBString
Dim value9 As DBString
Dim value10 As DBString
Dim value11 As DBString
Dim value12 As DBString
Dim value13 As DBString
Dim value14 As DBString
Dim value15 As DBString
Dim value16 As DBString
Dim lastEditComment As DBString
Dim lastEditAt As Nullable(Of Date)
DataLog16.UpdateSpecific(sessionId, rowId, grpId, sampleTimeLocal, woId, operId, seqNo, stepNo, itemId, lotNo, sublotNo, shiftStartLocal, shiftId, entId, genealogyId, segmentRequirementId, segmentResponseId, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16, lastEditComment, lastEditAt)
public static void UpdateSpecific(
int sessionId,
int rowId,
Nullable<int> grpId,
Nullable<DateTime> sampleTimeLocal,
DBString woId,
DBString operId,
DBInt seqNo,
DBInt stepNo,
DBString itemId,
DBString lotNo,
DBString sublotNo,
Nullable<DateTime> shiftStartLocal,
Nullable<int> shiftId,
DBInt entId,
DBString genealogyId,
DBString segmentRequirementId,
DBString segmentResponseId,
DBString value1,
DBString value2,
DBString value3,
DBString value4,
DBString value5,
DBString value6,
DBString value7,
DBString value8,
DBString value9,
DBString value10,
DBString value11,
DBString value12,
DBString value13,
DBString value14,
DBString value15,
DBString value16,
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 data log record to be modified.
- grpId
- Optional. Holds the ID of the data log group.
- sampleTimeLocal
- Optional. Holds the date and time when the sample was first taken, in local time.
- woId
- Optional. Holds the ID of the work order.
- operId
- Optional. Holds the ID of the operation.
- seqNo
- Optional. Holds the operation sequence number.
- stepNo
- Optional. Holds the step number of the job.
- itemId
- Optional. Holds the ID of the item.
- lotNo
- Optional. Holds the lot number of the item.
- sublotNo
- Optional. Holds the sublot number of the item.
- shiftStartLocal
- Optional. Holds the date and time when the shift started, in local time.
- shiftId
- Optional. Holds the ID of the shift.
- entId
- Optional. Holds the ID of the entity.
- genealogyId
- Optional. Hold the PEM intra-segment genealogy ID.
- segmentRequirementId
- Optional. Holds the S95 segment requirement ID.
- segmentResponseId
- Optional. Holds the S95 segment response ID.
- value1
- Optional. Holds the contents of the user-defined value1 field.
- value2
- Optional. Holds the contents of the user-defined value2 field.
- value3
- Optional. Holds the contents of the user-defined value3 field.
- value4
- Optional. Holds the contents of the user-defined value4 field.
- value5
- Optional. Holds the contents of the user-defined value5 field.
- value6
- Optional. Holds the contents of the user-defined value6 field.
- value7
- Optional. Holds the contents of the user-defined value7 field.
- value8
- Optional. Holds the contents of the user-defined value8 field.
- value9
- Optional. Holds the contents of the user-defined value9 field.
- value10
- Optional. Holds the contents of the user-defined value10 field.
- value11
- Optional. Holds the contents of the user-defined value11 field.
- value12
- Optional. Holds the contents of the user-defined value12 field.
- value13
- Optional. Holds the contents of the user-defined value13 field.
- value14
- Optional. Holds the contents of the user-defined value14 field.
- value15
- Optional. Holds the contents of the user-defined value15 field.
- value16
- Optional. Holds the contents of the user-defined value16 field.
- lastEditComment
- Optional. Holds comments that describe why this record is being updated.
- lastEditAt
Optional. Holds the datetime when this record was added or last updated, for optimistic concurrency control. If provided, the passed value must match the last_edit_at value in the record for the update to succeed.
Output. Holds the datetime 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.