ChangeWOValues Method
- Last UpdatedNov 06, 2025
- 2 minute read
The ChangeWOValues() method changes the priority and required finish times, and allocates job start and/or required quantities for all jobs in the specified work order.
'Declaration
Public Shared Sub ChangeWOValues( _
ByVal sessionId As Integer, _
ByVal woId As String, _
ByVal priority As Nullable(Of Integer), _
ByVal reqFinishTime As Nullable(Of Date), _
ByVal qtyReqd As Nullable(Of Double), _
ByVal qtyAtStart As Nullable(Of Double), _
ByRef modId As String _
)
'Usage
Dim sessionId As Integer
Dim woId As String
Dim priority As Nullable(Of Integer)
Dim reqFinishTime As Nullable(Of Date)
Dim qtyReqd As Nullable(Of Double)
Dim qtyAtStart As Nullable(Of Double)
Dim modId As String
JobExec.ChangeWOValues(sessionId, woId, priority, reqFinishTime, qtyReqd, qtyAtStart, modId)
public static void ChangeWOValues(
int sessionId,
string woId,
Nullable<int> priority,
Nullable<DateTime> reqFinishTime,
Nullable<double> qtyReqd,
Nullable<double> qtyAtStart,
out string modId
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- woId
- Required. Holds the ID of the work order.
- priority
- Optional. Holds the priority for a job and work order itself.
- reqFinishTime
- Optional. Holds the required finish time for a job and work order itself.
- qtyReqd
- Optional. Holds the amount of quantity must be produced.
- qtyAtStart
- Optional. Holds the starting quantity.
- modId
Required. Holds the modification ID assigned the last time this record was added or last updated, for optimistic concurrency control. If it is specified, 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.