Author: lektran
Date: Thu Nov 1 02:11:15 2007
New Revision: 590941
URL:
http://svn.apache.org/viewvc?rev=590941&view=revLog:
Should be using quantity ordered for Pack Order display rather quantity available
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?rev=590941&r1=590940&r2=590941&view=diff==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java Thu Nov 1 02:11:15 2007
@@ -962,9 +962,9 @@
// this is an OrderItemAndShipGrpInvResAndItemSum
orderItem = v;
productId = v.getString("inventoryProductId");
- quantity = v.getBigDecimal("totQuantityAvailable").setScale(2, BigDecimal.ROUND_HALF_UP);
+ quantity = v.getBigDecimal("quantityOrdered").setScale(2, BigDecimal.ROUND_HALF_UP);
}
- Debug.log("created item display object quanttiy: " + quantity + " (" + productId + ")", module);
+ Debug.log("created item display object quantity: " + quantity + " (" + productId + ")", module);
}
public GenericValue getOrderItem() {