New Shipment created when calling SaveAsPurchaseOrder

Vote:
 

Hi,


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?


Thanks

#66879
Mar 11, 2013 17:54
Vote:
 

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.

Regards
Khurram

#68221
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.