Author: jacopoc
Date: Fri Aug 1 00:36:09 2008
New Revision: 681618
URL:
http://svn.apache.org/viewvc?rev=681618&view=revLog:
Fixed bug reported by Giorgio Tomaselli.
Modified:
ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/mrp/MrpServices.java
Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/mrp/MrpServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/mrp/MrpServices.java?rev=681618&r1=681617&r2=681618&view=diff==============================================================================
--- ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/mrp/MrpServices.java (original)
+++ ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/mrp/MrpServices.java Fri Aug 1 00:36:09 2008
@@ -529,9 +529,10 @@
try {
if (UtilValidate.isNotEmpty(productId) && UtilValidate.isNotEmpty(errorMessage)) {
GenericValue inventoryEventError = delegator.makeValue("MrpEvent", UtilMisc.toMap("productId", productId,
- "eventDate", eventDate,
- "mrpEventTypeId", "ERROR",
- "eventName", errorMessage));
+ "mrpId", mrpId,
+ "eventDate", eventDate,
+ "mrpEventTypeId", "ERROR",
+ "eventName", errorMessage));
delegator.createOrStore(inventoryEventError);
}
} catch (GenericEntityException e) {