Try our conversational search powered by Generative AI!

New Shipment created when calling SaveAsPurchaseOrder



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?


Mar 11, 2013 17:54

Hi Patric,

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.


Mar 19, 2013 10:37
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.