svn commit: r596123 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml

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

svn commit: r596123 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml

jleroux@apache.org
Author: jleroux
Date: Sun Nov 18 11:59:11 2007
New Revision: 596123

URL: http://svn.apache.org/viewvc?rev=596123&view=rev
Log:
A patch from Bilgin Ibryam "error in issueImmediatelyFulfilledOrder, when issuing Serialized items" (https://issues.apache.org/jira/browse/OFBIZ-1315) - OFBIZ-1315
Not really related to the initial "POS does not do itemIssuance" issue reported by Si Chen. As explained Bilgin it was not really a problem (RetailStore has no inventory)





Modified:
    ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml?rev=596123&r1=596122&r2=596123&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml Sun Nov 18 11:59:11 2007
@@ -197,7 +197,8 @@
                 <if-compare value="INV_AVAILABLE" operator="equals" field-name="statusId" map-name="inventoryItem">
                     <!-- change status on inventoryItem -->
                     <set field="inventoryItem.statusId" value="INV_DELIVERED" />
-                    <call-service service-name="updateInventoryItem" in-map-name="inventoryItem"/>
+                    <set-service-fields service-name="updateInventoryItem"  map-name="inventoryItem" to-map-name="inventoryItemMap"/>
+                    <call-service service-name="updateInventoryItem" in-map-name="inventoryItemMap"/>
 
                     <!-- create ItemIssuance record -->
                     <set field="issuanceCreateMap.orderId" from-field="parameters.orderId"/>
@@ -265,4 +266,5 @@
         </if-compare>
     </simple-method>
 </simple-methods>
+