GLMDebug.ERROR("InventoryBG", " initInventory - NO ScheduledContentPG on Inventory Object- "+id+ ", EXIT!");
if (logger.isErrorEnabled()) { logger.error(" initInventory - NO ScheduledContentPG on Inventory Object- " + id + ", EXIT!"); }
  public int resetInventory(Inventory inventory, long today) {    needInitializeInventoryLevels = true;    if (!isStartTimeSet) {// Only do this check once      Scalar ignore = getScalar(0.0);// Insure we know how to manage this type    }    for (int i = 0, n = dueOut_.size(); i < n; i++) {      ((DueOutList) dueOut_.elementAt(i)).clear();    }    for (int i = 0, n = dueIns_.size(); i < n; i++) {      ((DueInList) dueIns_.elementAt(i)).clear();    }    dueInsByRequestDay_.clear();    initializeTime(inventory, today);    if (!inventory.hasScheduledContentPG()) {      Asset proto = inventory.getPrototype();      String id = proto.getTypeIdentificationPG().getNomenclature();      GLMDebug.ERROR("InventoryBG", " initInventory - NO ScheduledContentPG on Inventory Object- "+id+ ", EXIT!");      System.exit(1);    }    //     printDebug("Initializing inventory: "+inventoryDesc(inventory));    //     printInventory(inventory,null);    // GLK temp return    return 0;  }