Author: hansbak
Date: Tue Feb 20 23:59:11 2007
New Revision: 509930
URL:
http://svn.apache.org/viewvc?view=rev&rev=509930Log:
current fresh checkout of ofbiz does not compile. commented out the offending lines
Modified:
ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java
Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java?view=diff&rev=509930&r1=509929&r2=509930==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java Tue Feb 20 23:59:11 2007
@@ -43,7 +43,7 @@
import org.ofbiz.service.LocalDispatcher;
import org.ofbiz.service.ServiceUtil;
import org.ofbiz.product.product.ProductWorker;
-import org.ofbiz.order.order.OrderReadHelper;
+// import org.ofbiz.order.order.OrderReadHelper; at this pont the order is not yet compiled see other change at line 842 to make this source compile
public class PackingSession implements java.io.Serializable {
@@ -839,8 +839,8 @@
while (lit.hasNext()) {
PackingSessionLine line = (PackingSessionLine) lit.next();
GenericValue orderItem = getDelegator().findByPrimaryKey("OrderItem", UtilMisc.toMap("orderId", line.getOrderId(), "orderItemSeqId", line.getOrderItemSeqId()));
- BigDecimal orderItemTotal = OrderReadHelper.getOrderItemSubTotalBd(orderItem, null, false, false);
- shippableTotal = new Double(shippableTotal.doubleValue() + orderItemTotal.doubleValue());
+// BigDecimal orderItemTotal = OrderReadHelper.getOrderItemSubTotalBd(orderItem, null, false, false);
+// shippableTotal = new Double(shippableTotal.doubleValue() + orderItemTotal.doubleValue());
}
}
serviceContext.put("shippableTotal", shippableTotal);