You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2009/05/25 08:26:16 UTC

svn commit: r778304 - /ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java

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));



Re: svn commit: r778304 - /ofbiz/trunk/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java

Posted by Akash Jain <ak...@hotwaxmedia.com>.
Thanks Vikas  :-)

Regards
--
Akash Jain

mor@apache.org 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));
>
>
>
>