Author: jacopoc
Date: Tue Apr 25 12:58:14 2017
New Revision: 1792609
URL:
http://svn.apache.org/viewvc?rev=1792609&view=revLog:
Fixed: accounting quantity was not updated when a physical inventory variance
was created.
(OFBIZ-9324)
Thanks: Ingo Wolfmayr for the detailed bug report.
Modified:
ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml
Modified: ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml?rev=1792609&r1=1792608&r2=1792609&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml Tue Apr 25 12:58:14 2017
@@ -562,6 +562,7 @@ under the License.
<set from-field="parameters.physicalInventoryId" field="createDetailMap.physicalInventoryId"/>
<set from-field="parameters.availableToPromiseVar" field="createDetailMap.availableToPromiseDiff"/>
<set from-field="parameters.quantityOnHandVar" field="createDetailMap.quantityOnHandDiff"/>
+ <set from-field="parameters.quantityOnHandVar" field="createDetailMap.accountingQuantityDiff"/>
<set from-field="parameters.varianceReasonId" field="createDetailMap.reasonEnumId"/>
<set from-field="parameters.comments" field="createDetailMap.description"/>
<call-service service-name="createInventoryItemDetail" in-map-name="createDetailMap"/>