Author: sichen
Date: Mon Sep 18 16:05:25 2006
New Revision: 447621

URL: http://svn.apache.org/viewvc?view=rev&rev=447621
Log:
Fill in DHl labels shipment reference with orderId-shipGroupSeqId

Modified:
    
incubator/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/dhl/DhlServices.java

Modified: 
incubator/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/dhl/DhlServices.java
URL: 
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/dhl/DhlServices.java?view=diff&rev=447621&r1=447620&r2=447621
==============================================================================
--- 
incubator/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/dhl/DhlServices.java
 (original)
+++ 
incubator/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/dhl/DhlServices.java
 Mon Sep 18 16:05:25 2006
@@ -715,6 +715,7 @@
             inContext.put("postalCode", 
destPostalAddress.getString("postalCode"));  
             inContext.put("phoneNbr", destPhoneNumber);
             inContext.put("labelImageType", labelImagePreference);
+            inContext.put("shipperReference", 
shipment.getString("primaryOrderId") + "-" + 
shipment.getString("primaryShipGroupSeqId"));
             
             try {
                 Map tmpResult = ContentWorker.renderContentAsText(delegator, 
templateName, outWriter, inContext, null, locale, "text/plain");


Reply via email to