You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/03/27 08:04:48 UTC

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

Author: jleroux
Date: Thu Mar 27 00:04:46 2008
New Revision: 641718

URL: http://svn.apache.org/viewvc?rev=641718&view=rev
Log:
A patch from Nicolas Malin "service receiveInventoryProduct fail with existing inventoryItem" (https://issues.apache.org/jira/browse/OFBIZ-1720) - 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=641718&r1=641717&r2=641718&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 Thu Mar 27 00:04:46 2008
@@ -122,6 +122,7 @@
                 </call-service>
                 
                 <else>
+                    <set field="parameters.inventoryItemId" from-field="parameters.currentInventoryItemId"/> 
                     <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"/>