logger = parentPlugin.getLoggingService(this); if(logToCSV) { csvLogger = LogisticsInventoryLogger.createInventoryLogger(myPG.getResource(),myPG.getOrg(),true,parentPlugin); csvWriter = new LogisticsInventoryFormatter(csvLogger,startCDay, parentPlugin);
logger = parentPlugin.getLoggingService(this); if (logToCSV) { csvLogger = LogisticsInventoryLogger.createInventoryLogger(myPG.getResource(), myPG.getOrg(), true, parentPlugin); csvWriter = new LogisticsInventoryFormatter(csvLogger, startCDay, parentPlugin); } taskUtils = parentPlugin.getTaskUtils();
  public void reinitialize(boolean logToCSV, Date startCDay, InventoryPlugin parentPlugin) {    logger = parentPlugin.getLoggingService(this);    if(logToCSV) {	csvLogger = LogisticsInventoryLogger.createInventoryLogger(myPG.getResource(),myPG.getOrg(),true,parentPlugin);	csvWriter = new LogisticsInventoryFormatter(csvLogger,startCDay, parentPlugin);    }    taskUtils = parentPlugin.getTaskUtils();  }