Thanks Vikas :-) Regards -- Akash Jain
[email protected] wrote:
Author: mor Date: Mon May 25 06:26:16 2009 New Revision: 778304 URL: http://svn.apache.org/viewvc?rev=778304&view=rev Log: With the subsequent changes to data model in rev. 778272, these changes were inevitable. Patch from Akash Jain fix those issue coming just because of that. 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=778304&r1=778303&r2=778304&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 Mon May 25 06:26:16 2009 @@ -835,9 +835,9 @@ Map<String, Object> pkgCtx = FastMap.newInstance(); pkgCtx.put("shipmentId", shipmentId); pkgCtx.put("shipmentPackageSeqId", shipmentPackageSeqId); - pkgCtx.put("length", line.getLength()); - pkgCtx.put("width", line.getWidth()); - pkgCtx.put("height", line.getHeight()); + pkgCtx.put("boxLength", line.getLength()); + pkgCtx.put("boxWidth", line.getWidth()); + pkgCtx.put("boxHeight", line.getHeight()); pkgCtx.put("dimensionUomId", getDimensionUomId()); pkgCtx.put("shipmentBoxTypeId", line.getShipmentBoxTypeId()); pkgCtx.put("weight", getPackageWeight(i+1)); @@ -1146,9 +1146,9 @@ Map<String, Object> shipmentPackageCtx = FastMap.newInstance(); shipmentPackageCtx.put("shipmentId", shipmentId); shipmentPackageCtx.put("shipmentPackageSeqId", shipmentPackageSeqId); - shipmentPackageCtx.put("length", line.getLength()); - shipmentPackageCtx.put("width", line.getWidth()); - shipmentPackageCtx.put("height", line.getHeight()); + shipmentPackageCtx.put("boxLength", line.getLength()); + shipmentPackageCtx.put("boxWidth", line.getWidth()); + shipmentPackageCtx.put("boxHeight", line.getHeight()); shipmentPackageCtx.put("dimensionUomId", getDimensionUomId()); shipmentPackageCtx.put("shipmentBoxTypeId", line.getShipmentBoxTypeId()); shipmentPackageCtx.put("weight", getPackageWeight(i+1));
