Author: jleroux
Date: Thu Mar 27 00:04:46 2008
New Revision: 641718
URL:
http://svn.apache.org/viewvc?rev=641718&view=revLog:
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"/>