Author: apatel
Date: Tue Aug 7 21:59:02 2007
New Revision: 563744
URL:
http://svn.apache.org/viewvc?view=rev&rev=563744Log:
removed hardcoded requireInventory parameter value.
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml?view=diff&rev=563744&r1=563743&r2=563744==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml Tue Aug 7 21:59:02 2007
@@ -313,7 +313,7 @@
<set from-field="inventoryItemReservation.reserveOrderEnumId" field="reserveOisgirMap.reserveOrderEnumId"/>
<set from-field="inventoryItemReservation.reservedDatetime" field="reserveOisgirMap.reservedDatetime"/>
<set field="reserveOisgirMap.quantity" value="1" type="Double"/>
- <set field="reserveOisgirMap.requireInventory" value="N"/>
+ <set field="reserveOisgirMap.requireInventory" from-field="parameters.requireInventory"/>
<if-not-empty field-name="inventoryItemReservation.sequenceId">
<set field="reserveOisgirMap.sequenceId" from-field="inventoryItemReservation.sequenceId"/>
</if-not-empty>