0.9, true);
Constants.Confidence.SCHEDULED, true);
  private void checkPlanElement(Task withdraw, PlanElement pe) {    //if this task already has a pe - make sure the results are consistent    // with best.    //PlanElement pe = withdraw.getPlanElement();    AllocationResult ar = pe.getEstimatedResult();    AllocationResult estimatedResult = PluginHelper.            createEstimatedAllocationResult(withdraw, inventoryPlugin.getPlanningFactory(),                                            0.9, true);    if (ar == null || !ar.equals(estimatedResult)) {      pe.setEstimatedResult(estimatedResult);      inventoryPlugin.publishChange(pe);//       updatePG(withdraw, thePG);    }  }