Author: deepak
Date: Tue Oct 17 11:19:14 2017
New Revision: 1812386
URL:
http://svn.apache.org/viewvc?rev=1812386&view=revLog:
Improved: While creating inventory transfer, to location parameter is not handled (OFBIZ-9834)
Thanks Suraj Khurana for your contribution.
Modified:
ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/inventory/InventoryServices.xml
ofbiz/ofbiz-framework/trunk/applications/product/servicedef/services_facility.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=1812386&r1=1812385&r2=1812386&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 Oct 17 11:19:14 2017
@@ -994,6 +994,7 @@ under the License.
<iterate list="inventoryItemAndLocations" entry="inventoryItemAndLocation">
<clear-field field="inputMap"/>
<set field="inputMap.inventoryItemId" from-field="inventoryItemAndLocation.inventoryItemId"/>
+ <set field="inputMap.locationSeqId" from-field="inventoryItemAndLocation.locationSeqId"/>
<if-empty field="parameters.statusId">
<set field="inputMap.statusId" value="IXF_REQUESTED"/>
<else>
@@ -1002,6 +1003,7 @@ under the License.
</if-empty>
<set field="inputMap.facilityId" from-field="parameters.facilityId"/>
<set field="inputMap.facilityIdTo" from-field="parameters.facilityIdTo"/>
+ <set field="inputMap.locationSeqIdTo" from-field="parameters.locationSeqIdTo"/>
<set field="inputMap.sendDate" from-field="parameters.sendDate"/>
<!-- TODO: inventory transfers for serialized items are not yet implemented -->
<if-compare field="inventoryItemAndLocation.inventoryItemTypeId" operator="equals" value="NON_SERIAL_INV_ITEM">
Modified: ofbiz/ofbiz-framework/trunk/applications/product/servicedef/services_facility.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/servicedef/services_facility.xml?rev=1812386&r1=1812385&r2=1812386&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/servicedef/services_facility.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/servicedef/services_facility.xml Tue Oct 17 11:19:14 2017
@@ -771,6 +771,7 @@ under the License.
</type-validate>
</attribute>
<attribute name="containerId" type="String" mode="IN" optional="true"/>
+ <attribute name="locationSeqIdTo" type="String" mode="IN" optional="true"/>
<attribute name="facilityIdTo" type="String" mode="IN" optional="false">
<type-validate>
<fail-property resource="ProductErrorUiLabels" property="facility.facilityIdTo"/>