Enumeration dueIns = invpg.getAllDueIns(); printInventory(inventory,dueIns,0);
    protected void adjustForInadequateInventory() {	// GLK NEED TO FILL IN, POSSIBLY FROM GIM  	printLog("adjustForInadequateInventory()-----------------------------Inventory before failUnfillableDueOuts()");	Enumeration inventories = inventoryPlugIn_.getInventoryBins(supplyType_);	Inventory inventory;	InventoryPG invpg;	// For each inventory	while (inventories.hasMoreElements()) {	    inventory = (Inventory)inventories.nextElement();	    invpg = (InventoryPG)inventory.searchForPropertyGroup(InventoryPG.class);	    int day = invpg.getFirstPlanningDay();	    DueOut lowestPriorityDueOut = null;	    // Find lowest priority task to fail	    while ((day =refillNeeded(inventory,day)) != DONE) {		printDebug("Inventory level before failing allocation is "+			   TimeUtils.dateString(TimeUtils.addNDays(invpg.getStartTime(),day))+" : "+invpg.getLevel(day)+			   ", Reorder level :"+getReorderLevel(inventory, day));		lowestPriorityDueOut = invpg.getLowestPriorityDueOutBeforeDay(day);		// Is there another request to fail?		if (lowestPriorityDueOut != null) {		    // Fail Request		    Task task = lowestPriorityDueOut.getTask();		    printDebug("    ---->Failing due-out: "+TaskUtils.taskDesc(task)+"\n");		    		    // DEBUG PRINTOUT		    Enumeration dueIns = invpg.getAllDueIns();		    printInventory(inventory,dueIns,0);		    PlanElement pe = task.getPlanElement();		    if (pe instanceof Allocation) {			failAlloc(inventory, (Allocation)pe);			lowestPriorityDueOut.setFilled(false);			lowestPriorityDueOut = null;			// recalculate inventory levels			invpg.determineInventoryLevels();			day++;			printDebug("Inventory level after  failing allocation is "+				   TimeUtils.dateString(TimeUtils.addNDays(invpg.getStartTime(),day))+" : "+invpg.getLevel(day));		    }		    else {			printError("adjustForInadequateInventory(),  PlanElement is not an Allocation to inventory!!!");		    }		}		else {		    printError("adjustForInadequateInventory(), Need to fail back but no requests found on day "+			       TimeUtils.dateString(TimeUtils.addNDays(invpg.getStartTime(),day)));		    day++;		}		printDebug(" ");	    }	}    }