Author: jacopoc
Date: Sun Jun 14 13:24:14 2009
New Revision: 784552
URL:
http://svn.apache.org/viewvc?rev=784552&view=revLog:
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=784552&r1=784551&r2=784552&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:24:14 2009
@@ -66,7 +66,7 @@
mrpEvent = delegator.findByPrimaryKey("MrpEvent", mrpEventKeyMap);
if (mrpEvent == null) {
mrpEvent = delegator.makeValue("MrpEvent", mrpEventKeyMap);
- mrpEvent.put("quantity", newQuantity);
+ mrpEvent.put("quantity", newQuantity.doubleValue());
mrpEvent.put("eventName", eventName);
mrpEvent.put("facilityId", facilityId);
mrpEvent.put("isLate", (isLate? "Y": "N"));