Task task = lowestPriorityDueOut.getTask(); printConcise("adjustForInadequateInventory() shortfall=" + shortfall + " on " + day + "=" + TimeUtils.dateString(invpg.getStartOfDay(day)) + " failed " + task.getUID() + " having " + TaskUtils.getDailyQuantity(task) + " on " + TimeUtils.dateString(invpg.convertDayToTime(lowestPriorityDueOut.getDay())) );
Task task = lowestPriorityDueOut.getTask(); logger.debug("adjustForInadequateInventory() shortfall=" + shortfall + " on " + day + "=" + TimeUtils.dateString(invpg.getStartOfDay(day)) + " failed " + task.getUID() + " having " + TaskUtils.getDailyQuantity(task) + " on " + TimeUtils.dateString(invpg.convertDayToTime(lowestPriorityDueOut.getDay())));
  private boolean failDueOut(Inventory inventory, InventoryPG invpg, int day) {    DueOut lowestPriorityDueOut = invpg.getLowestPriorityDueOutBeforeDay(day);    if (lowestPriorityDueOut == null) return false;    //      printDebug("Inventory level before failing allocation is "+    //                 TimeUtils.dateString(invpg.convertDayToTime(day)) + " : "+invpg.getLevel(day)+    //                 ", Reorder level :"+invpg.getReorderLevel(day));    invpg.setDueOutFilled(lowestPriorityDueOut, false);    lowestPriorityDueOut.setFilled(false);    if (isPrintConcise()) {      if (lowestPriorityDueOut.getPreviouslyFilled() != false) {	Task task = lowestPriorityDueOut.getTask();	printConcise("adjustForInadequateInventory() shortfall="		     + shortfall		     + " on "		     + day		     + "="		     + TimeUtils.dateString(invpg.getStartOfDay(day))		     + " failed "		     + task.getUID()		     + " having "		     + TaskUtils.getDailyQuantity(task)		     + " on "		     + TimeUtils.dateString(invpg.convertDayToTime(lowestPriorityDueOut.getDay()))		     );      }    }    //      printDebug("Inventory level after failing allocation is "    //                 + TimeUtils.dateString(invpg.convertDayToTime(day))    //                 + " : "+invpg.getLevel(day));    return true;  }