Author: jacopoc
Date: Wed Dec 14 17:06:37 2011
New Revision: 1214342
URL:
http://svn.apache.org/viewvc?rev=1214342&view=revLog:
Backported from rev. 1214334: Patch from Dan Dodd (OFBIZ-2564) to fix Double/BigDecimal issue in receiving of hhfacility
Modified:
ofbiz/branches/release10.04/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.xml
ofbiz/branches/release10.04/specialpurpose/hhfacility/servicedef/services_hhfacility.xml
Modified: ofbiz/branches/release10.04/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.xml?rev=1214342&r1=1214341&r2=1214342&view=diff==============================================================================
--- ofbiz/branches/release10.04/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.xml (original)
+++ ofbiz/branches/release10.04/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.xml Wed Dec 14 17:06:37 2011
@@ -47,7 +47,7 @@ under the License.
<set value="hhFacility Receipt" field="receiveCtx.comments"/>
<set from-field="nowTimestamp" field="receiveCtx.datetimeReceived"/>
<set value="NON_SERIAL_INV_ITEM" field="receiveCtx.inventoryItemTypeId"/>
- <calculate field="receiveCtx.quantityRejected" type="Double">
+ <calculate field="receiveCtx.quantityRejected" type="BigDecimal">
<number value="0"/>
</calculate>
<call-service service-name="receiveInventoryProduct" in-map-name="receiveCtx"/>
Modified: ofbiz/branches/release10.04/specialpurpose/hhfacility/servicedef/services_hhfacility.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/specialpurpose/hhfacility/servicedef/services_hhfacility.xml?rev=1214342&r1=1214341&r2=1214342&view=diff==============================================================================
--- ofbiz/branches/release10.04/specialpurpose/hhfacility/servicedef/services_hhfacility.xml (original)
+++ ofbiz/branches/release10.04/specialpurpose/hhfacility/servicedef/services_hhfacility.xml Wed Dec 14 17:06:37 2011
@@ -33,7 +33,7 @@ under the License.
<description>Receive Product Qty to Facility</description>
<attribute name="facilityId" type="String" mode="IN" optional="false"/>
<attribute name="productId" type="String" mode="IN" optional="false"/>
- <attribute name="productQty" type="Double" mode="IN" optional="false"/>
+ <attribute name="productQty" type="BigDecimal" mode="IN" optional="false"/>
<attribute name="productLocation" type="String" mode="IN" optional="true"/>
</service>
@@ -57,7 +57,7 @@ under the License.
<attribute name="facilityId" type="String" mode="IN" optional="false"/>
<attribute name="locationSeqId" type="String" mode="IN" optional="false"/>
<attribute name="productId" type="String" mode="IN" optional="false"/>
- <attribute name="quantity" type="Double" mode="IN" optional="false"/>
+ <attribute name="quantity" type="BigDecimal" mode="IN" optional="false"/>
<attribute name="locationSeqIdNew" type="String" mode="IN" optional="true"/>
</service>