Author: jacopoc
Date: Sun Jun 14 13:53:34 2009
New Revision: 784559
URL:
http://svn.apache.org/viewvc?rev=784559&view=revLog:
Another small fix to prevent annoying warning messages in the log.
Modified:
ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/mrp/InventoryEventPlannedServices.java
Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/mrp/InventoryEventPlannedServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/mrp/InventoryEventPlannedServices.java?rev=784559&r1=784558&r2=784559&view=diff==============================================================================
--- ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/mrp/InventoryEventPlannedServices.java (original)
+++ ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/mrp/InventoryEventPlannedServices.java Sun Jun 14 13:53:34 2009
@@ -73,7 +73,7 @@
mrpEvent.create();
} else {
BigDecimal qties = newQuantity.add((BigDecimal)mrpEvent.getBigDecimal("quantity"));
- mrpEvent.put("quantity", qties);
+ mrpEvent.put("quantity", qties.doubleValue());
if (!UtilValidate.isEmpty(eventName)) {
String existingEventName = mrpEvent.getString("eventName");
mrpEvent.put("eventName", (UtilValidate.isEmpty(existingEventName)? eventName: existingEventName + ", " + eventName));