svn commit: r645404 - /ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r645404 - /ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml

jleroux@apache.org
Author: jleroux
Date: Mon Apr  7 00:41:13 2008
New Revision: 645404

URL: http://svn.apache.org/viewvc?rev=645404&view=rev
Log:
To secure commit done in rev. 641718 for https://issues.apache.org/jira/browse/OFBIZ-1720

Modified:
    ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml?rev=645404&r1=645403&r2=645404&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml Mon Apr  7 00:41:13 2008
@@ -122,7 +122,9 @@
                 </call-service>
                 
                 <else>
-                    <set field="parameters.inventoryItemId" from-field="parameters.currentInventoryItemId"/>
+                    <if-not-empty field-name="parameters.currentInventoryItemId">
+                        <set field="parameters.inventoryItemId" from-field="parameters.currentInventoryItemId"/>
+                    </if-not-empty>
                     <set-service-fields service-name="updateInventoryItem" map-name="parameters" to-map-name="serviceInMap"/>
                     <call-service service-name="updateInventoryItem" in-map-name="serviceInMap"/>
                     <set field="currentInventoryItemId" from-field="parameters.currentInventoryItemId"/>