After calling the method SaveAsPurchaseOrder (CartHelper) I see a new shipment in the Shipments collection property of the OrderForm object. Before calling the method I had only one Shipment (Cart), but after I called the method I suddenly see two Shipments (PurchaseOrder), my original Shipment and another empty Shipment. If I look in the method ( JustDecompile ), I see that the workflow SplitShipments is called?
How is this possible, can I prevent this from happening?
If Line Item have different Shipping addresses or Items in Basket are coming from different warehouses then Shipment will be divided in the workflow shipment activity.