BF - error when completing Cost collector:

Action Invalid value - -- - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B
This commit is contained in:
teo_sarca 2009-01-26 16:20:41 +00:00
parent f4ae3ceacb
commit 7945180cc1
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}
}