From 7945180cc1f3774625e33eaef55320a45b69fa2d Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Mon, 26 Jan 2009 16:20:41 +0000 Subject: [PATCH] BF - error when completing Cost collector: Action Invalid value - -- - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B --- base/src/org/eevolution/model/MPPCostCollector.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/src/org/eevolution/model/MPPCostCollector.java b/base/src/org/eevolution/model/MPPCostCollector.java index fa9445a823..6e961f5b81 100644 --- a/base/src/org/eevolution/model/MPPCostCollector.java +++ b/base/src/org/eevolution/model/MPPCostCollector.java @@ -539,7 +539,8 @@ public class MPPCostCollector extends X_PP_Cost_Collector implements DocAction if(activity.getQtyDelivered().compareTo(activity.getQtyRequiered()) >= 0) { activity.setDocStatus(MPPOrderNode.DOCSTATUS_Completed); - activity.setAction(MPPOrderNode.DOCACTION_None); + activity.setDocAction(MPPOrderNode.DOCACTION_None); + activity.setAction(MPPOrderNode.ACTION_WaitSleep); activity.saveEx(); } }