Update Method (JobSchedExec)
- Last UpdatedNov 06, 2025
- 2 minute read
The Update() method updates all columns for the specified job sched exec record in the Job_Sched_Exec table.
'Declaration
Public Shared Sub Update( _
ByVal sessionId As Integer, _
ByVal entId As Integer, _
ByVal operType As DBString, _
ByVal queueTime As DBDouble, _
ByVal sortOrder As DBString, _
ByVal filter As DBString, _
ByVal spare1 As DBString, _
ByVal spare2 As DBString, _
ByVal spare3 As DBString, _
ByVal spare4 As DBString, _
ByVal lastEditComment As DBString, _
ByRef lastEditAt As Date _
)
'Usage
Dim sessionId As Integer
Dim entId As Integer
Dim operType As DBString
Dim queueTime As DBDouble
Dim sortOrder As DBString
Dim filter As DBString
Dim spare1 As DBString
Dim spare2 As DBString
Dim spare3 As DBString
Dim spare4 As DBString
Dim lastEditComment As DBString
Dim lastEditAt As Date
JobSchedExec.Update(sessionId, entId, operType, queueTime, sortOrder, filter, spare1, spare2, spare3, spare4, lastEditComment, lastEditAt)
public static void Update(
int sessionId,
int entId,
DBString operType,
DBDouble queueTime,
DBString sortOrder,
DBString filter,
DBString spare1,
DBString spare2,
DBString spare3,
DBString spare4,
DBString lastEditComment,
ref DateTime lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- entId
- Required. Holds the ID of the entity to which the job sched record belongs.
- operType
- Required. Holds the type of operation.
- queueTime
- Required. Holds the number of hours of queue time required before a job can be started.
- sortOrder
- Required. Holds the sort order used by the Operator queue window.
- filter
- Required. Holds the filter used by the used by the Operator queue window to determine which records are shown in the queue.
- spare1
- Required. Holds the contents of the user-defined spare1 field.
- spare2
- Required. Holds the contents of the user-defined spare2 field.
- spare3
- Required. Holds the contents of the user-defined spare3 field.
- spare4
- Required. Holds the contents of the user-defined spare4 field.
- lastEditComment
- Required. Holds comments that describes why this record is being updated.
- lastEditAt
Required. 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.