Status transition for orders based on a standard order
A standard order does not have a status itself, it has a Status field. Consequently, you cannot apply the getState and setState directly, but you will have to work around it.
For standard orders a getStandardBOUserStatePnName method is available that allows you to retrieve the standard order user status PnName of the status as set in the RefBOStateUserDefined field on the standard order.
This PnName can subsequently be used to set the status of an order created via web services to the desired state of the standard order, using the regular setState method.
Example
1. Create and save a new order.
2. Read all values from the standard order and set those values on the new order.
3. Read the standard order status using the new method.
4. Use getState on the order to retrieve the current status PnName.
5. Use getStandardBOUserStatePnName on the standard order to get PnName of desired status.
* 
This method will only be added to web service when the Read action is linked on the standard order.
6. Use setState (current order status PnName, desired standard order status PnName).
7. Save the order.