ChangeWOQtys Method
- Last UpdatedNov 06, 2025
- 1 minute read
The ChangeWOQtys() method changes starting and required quantities for the specified work order.
'Declaration
Public Shared Sub ChangeWOQtys( _
ByVal sessionId As Integer, _
ByVal woId As String, _
ByVal qtyReqd As Nullable(Of Double), _
ByVal qtyAtStart As Nullable(Of Double) _
)
'Usage
Dim sessionId As Integer
Dim woId As String
Dim qtyReqd As Nullable(Of Double)
Dim qtyAtStart As Nullable(Of Double)
JobExec.ChangeWOQtys(sessionId, woId, qtyReqd, qtyAtStart)
public static void ChangeWOQtys(
int sessionId,
string woId,
Nullable<double> qtyReqd,
Nullable<double> qtyAtStart
)
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.
- qtyReqd
- Optional. Holds the amount of quantity must be produced.
- qtyAtStart
- Optional. Holds the starting quantity.
The starting and required quantities are applied to the final job in the specified work order and then the quantities are propagated forward to all the remaining jobs in the work order based on their position in the route. As the quantities are propagated back through the route, they are adjusted according to the BOM.