Author: jacopoc
Date: Sat Dec 16 02:04:27 2006
New Revision: 487780
URL:
http://svn.apache.org/viewvc?view=rev&rev=487780Log:
When a cart is loaded from an existing order, if the ship group is associated to a supplier, then this information is stored in the cart.
Modified:
incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java
Modified: incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java?view=diff&rev=487780&r1=487779&r2=487780==============================================================================
--- incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java (original)
+++ incubator/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartServices.java Sat Dec 16 02:04:27 2006
@@ -343,6 +343,7 @@
cart.setShipBeforeDate(g, sg.getTimestamp("shipByDate"));
cart.setShipmentMethodTypeId(g, sg.getString("shipmentMethodTypeId"));
cart.setCarrierPartyId(g, sg.getString("carrierPartyId"));
+ cart.setSupplierPartyId(g, sg.getString("supplierPartyId"));
cart.setMaySplit(g, sg.getBoolean("maySplit"));
cart.setGiftMessage(g, sg.getString("giftMessage"));
cart.setShippingContactMechId(g, sg.getString("contactMechId"));