You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2008/10/25 01:48:15 UTC
svn commit: r707791 - in
/ofbiz/branches/typecheckcleanup200810/applications/product/servicedef:
services_facility.xml services_store.xml
Author: jonesde
Date: Fri Oct 24 16:48:14 2008
New Revision: 707791
URL: http://svn.apache.org/viewvc?rev=707791&view=rev
Log:
Changed some types from Double to BigDecimal; fixes some things in ecom checkout caused by change of calculate default out from Double to BigDecimal
Modified:
ofbiz/branches/typecheckcleanup200810/applications/product/servicedef/services_facility.xml
ofbiz/branches/typecheckcleanup200810/applications/product/servicedef/services_store.xml
Modified: ofbiz/branches/typecheckcleanup200810/applications/product/servicedef/services_facility.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/applications/product/servicedef/services_facility.xml?rev=707791&r1=707790&r2=707791&view=diff
==============================================================================
--- ofbiz/branches/typecheckcleanup200810/applications/product/servicedef/services_facility.xml (original)
+++ ofbiz/branches/typecheckcleanup200810/applications/product/servicedef/services_facility.xml Fri Oct 24 16:48:14 2008
@@ -273,7 +273,7 @@
<attribute name="orderId" type="String" mode="IN" optional="false"/>
<attribute name="orderItemSeqId" type="String" mode="IN" optional="false"/>
<attribute name="shipGroupSeqId" 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="reservedDatetime" type="Timestamp" mode="IN" optional="true"/>
<attribute name="requireInventory" type="String" mode="IN" optional="false"/>
<attribute name="serialNumber" type="String" mode="IN" optional="true"/>
@@ -291,12 +291,12 @@
<attribute name="orderId" type="String" mode="IN" optional="false"/>
<attribute name="orderItemSeqId" type="String" mode="IN" optional="false"/>
<attribute name="shipGroupSeqId" 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="reservedDatetime" type="Timestamp" mode="IN" optional="true"/>
<attribute name="requireInventory" type="String" mode="IN" optional="false"/>
<attribute name="reserveOrderEnumId" type="String" mode="IN" optional="false"/>
<attribute name="sequenceId" type="Long" mode="IN" optional="true"/>
- <attribute name="quantityNotReserved" type="Double" mode="OUT" optional="false"/>
+ <attribute name="quantityNotReserved" type="BigDecimal" mode="OUT" optional="false"/>
</service>
<service name="reserveProductInventoryByFacility" engine="simple"
location="org/ofbiz/product/inventory/InventoryReserveServices.xml" invoke="reserveProductInventory" auth="true">
@@ -309,12 +309,12 @@
<attribute name="orderId" type="String" mode="IN" optional="false"/>
<attribute name="orderItemSeqId" type="String" mode="IN" optional="false"/>
<attribute name="shipGroupSeqId" 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="reservedDatetime" type="Timestamp" mode="IN" optional="true"/>
<attribute name="requireInventory" type="String" mode="IN" optional="false"/>
<attribute name="reserveOrderEnumId" type="String" mode="IN" optional="true"/>
<attribute name="sequenceId" type="Long" mode="IN" optional="true"/>
- <attribute name="quantityNotReserved" type="Double" mode="OUT" optional="false"/>
+ <attribute name="quantityNotReserved" type="BigDecimal" mode="OUT" optional="false"/>
</service>
<service name="reserveProductInventoryByContainer" engine="simple"
location="org/ofbiz/product/inventory/InventoryReserveServices.xml" invoke="reserveProductInventory" auth="true">
@@ -327,12 +327,12 @@
<attribute name="orderId" type="String" mode="IN" optional="false"/>
<attribute name="orderItemSeqId" type="String" mode="IN" optional="false"/>
<attribute name="shipGroupSeqId" 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="reservedDatetime" type="Timestamp" mode="IN" optional="true"/>
<attribute name="requireInventory" type="String" mode="IN" optional="false"/>
<attribute name="reserveOrderEnumId" type="String" mode="IN" optional="true"/>
<attribute name="sequenceId" type="Long" mode="IN" optional="true"/>
- <attribute name="quantityNotReserved" type="Double" mode="OUT" optional="false"/>
+ <attribute name="quantityNotReserved" type="BigDecimal" mode="OUT" optional="false"/>
</service>
<service name="reserveOrderItemInventory" engine="simple"
location="org/ofbiz/product/inventory/InventoryReserveServices.xml" invoke="reserveOrderItemInventory" auth="true">
@@ -362,13 +362,13 @@
<attribute name="orderId" type="String" mode="IN" optional="false"/>
<attribute name="orderItemSeqId" type="String" mode="IN" optional="false"/>
<attribute name="shipGroupSeqId" type="String" mode="IN" optional="true"/>
- <attribute name="cancelQuantity" type="Double" mode="IN" optional="true"/>
+ <attribute name="cancelQuantity" type="BigDecimal" mode="IN" optional="true"/>
</service>
<service name="cancelOrderItemShipGrpInvRes" engine="simple"
location="org/ofbiz/product/inventory/InventoryReserveServices.xml" invoke="cancelOrderItemShipGrpInvRes" auth="true">
<description>Cancels an inventory reservation</description>
<auto-attributes entity-name="OrderItemShipGrpInvRes" include="pk" mode="IN" optional="false"/>
- <attribute name="cancelQuantity" type="Double" mode="IN" optional="true"/>
+ <attribute name="cancelQuantity" type="BigDecimal" mode="IN" optional="true"/>
</service>
<service name="interfaceInventoryTransfer" engine="interface" location="" invoke="">
Modified: ofbiz/branches/typecheckcleanup200810/applications/product/servicedef/services_store.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/typecheckcleanup200810/applications/product/servicedef/services_store.xml?rev=707791&r1=707790&r2=707791&view=diff
==============================================================================
--- ofbiz/branches/typecheckcleanup200810/applications/product/servicedef/services_store.xml (original)
+++ ofbiz/branches/typecheckcleanup200810/applications/product/servicedef/services_store.xml Fri Oct 24 16:48:14 2008
@@ -45,11 +45,11 @@
<attribute name="productStoreId" type="String" mode="IN" optional="false"></attribute>
<attribute name="productId" type="String" mode="IN" optional="false"></attribute>
<attribute name="facilityId" type="String" mode="IN" optional="true"></attribute>
- <attribute name="quantity" type="Double" mode="IN" optional="false"></attribute>
+ <attribute name="quantity" type="BigDecimal" mode="IN" optional="false"></attribute>
<attribute name="orderId" type="String" mode="IN" optional="true"></attribute>
<attribute name="orderItemSeqId" type="String" mode="IN" optional="true"></attribute>
<attribute name="shipGroupSeqId" type="String" mode="IN" optional="true"></attribute>
- <attribute name="quantityNotReserved" type="Double" mode="OUT" optional="false"></attribute>
+ <attribute name="quantityNotReserved" type="BigDecimal" mode="OUT" optional="false"></attribute>
</service>
<service name="isStoreInventoryRequired" engine="simple"
@@ -59,7 +59,7 @@
<attribute name="productStore" type="GenericValue" mode="IN" optional="true"></attribute>
<attribute name="productId" type="String" mode="IN" optional="false"></attribute>
<attribute name="product" type="GenericValue" mode="IN" optional="true"></attribute>
- <attribute name="requireInventory" type="String" mode="OUT" optional="false"></attribute><!-- Y/N -->
+ <attribute name="requireInventory" type="String" mode="OUT" optional="false"><!-- Y/N --></attribute>
</service>
<service name="isStoreInventoryAvailable" engine="simple"
location="org/ofbiz/product/store/ProductStoreServices.xml" invoke="isStoreInventoryAvailable" auth="false">
@@ -68,8 +68,8 @@
<attribute name="productStore" type="GenericValue" mode="IN" optional="true"></attribute>
<attribute name="productId" type="String" mode="IN" optional="false"></attribute>
<attribute name="product" type="GenericValue" mode="IN" optional="true"></attribute>
- <attribute name="quantity" type="Double" mode="IN" optional="false"></attribute>
- <attribute name="available" type="String" mode="OUT" optional="false"></attribute><!-- Y/N -->
+ <attribute name="quantity" type="BigDecimal" mode="IN" optional="false"></attribute>
+ <attribute name="available" type="String" mode="OUT" optional="false"><!-- Y/N --></attribute>
</service>
<service name="isStoreInventoryAvailableOrNotRequired" engine="simple"
location="org/ofbiz/product/store/ProductStoreServices.xml" invoke="isStoreInventoryAvailableOrNotRequired" auth="false">
@@ -78,8 +78,8 @@
<attribute name="productStore" type="GenericValue" mode="IN" optional="true"></attribute>
<attribute name="productId" type="String" mode="IN" optional="false"></attribute>
<attribute name="product" type="GenericValue" mode="IN" optional="true"></attribute>
- <attribute name="quantity" type="Double" mode="IN" optional="false"></attribute>
- <attribute name="availableOrNotRequired" type="String" mode="OUT" optional="false"></attribute><!-- Y/N -->
+ <attribute name="quantity" type="BigDecimal" mode="IN" optional="false"></attribute>
+ <attribute name="availableOrNotRequired" type="String" mode="OUT" optional="false"><!-- Y/N --></attribute>
</service>
<!-- Product Store Role Services -->