for (int index = 0; index < quantitySelector.Value; index++)
Using quantitySelector.Value for the max size of the index does not make sense.
The index must be less than the size of the collection. It must be less than submitTargetsOrdersList.Count().
To save output from the output window, right-click the NinjaScript Output window -> select Save As.. Then you can attach the output text file to your posts.
Print the order object for all orders to see when orders are being updated.
To confirm, no orders are being modified, not even the first two in the list? No error is appearing in the NinjaScript Output window or on the Log tab of the Control Center?
You somewhere else are checking the OrderState of the orders to be OrderState.Working or .Accepted to ensure they can be modified?
May we have the output showing the orderstate of the orders you are trying to modify?
Comment