Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
Release Branch 13.07, Release Branch 14.12, Release Branch 15.12, Trunk, Upcoming Branch
-
None
-
None
-
Patch
Description
When creating an order from a Quote, if a purchase order is required (due to dropship) the items are added to the purchase order in reverse order as they appear on the quote and sales order. This is because the call to ShoppingCartItem.makePurchaseOrderItem() is made with the first argument always set to 0, thus adding the all items as the first item.