logInvPG=null; logInvPG = (LogisticsInventoryPG)inv.searchForPropertyGroup(LogisticsInventoryPG.class); if(logInvPG != null) { logToXMLOutput(logInvPG.getResource(), logInvPG.getOrg(), logInvPG.getWithdrawList(), logInvPG.getProjWithdrawList(), logInvPG.getActualDemandTasksList(), logInvPG.getSupplyList(), logInvPG.getProjSupplyList(), logInvPG.getBufferedCritLevels(), logInvPG.getBufferedInvLevels(), logInvPG.getBufferedTargetLevels(), logInvPG.getIsLevel2(), aCycleStamp); }
logHeaderStartToXMLOutput(invAsset,anOrg,level2Inv,humanReadable);  ArrayList countedProjWithdrawList = extractProjFromCounted(countedDemandList); logDemandToXMLOutput(withdrawList,projWithdrawList,countedProjWithdrawList,humanReadable,aCycleStamp); logResupplyToXMLOutput(resupplyList,projResupplyList,humanReadable,aCycleStamp); logLevelsToXMLOutput(reorderLevels,inventoryLevels,targetLevels,humanReadable,aCycleStamp); logHeaderEndToXMLOutput(humanReadable);
    public void logToXMLOutput(Inventory inv,			       long aCycleStamp) {	logInvPG=null;	logInvPG = (LogisticsInventoryPG)inv.searchForPropertyGroup(LogisticsInventoryPG.class);	if(logInvPG != null) {	    logToXMLOutput(logInvPG.getResource(),			   logInvPG.getOrg(),			   logInvPG.getWithdrawList(),			   logInvPG.getProjWithdrawList(),			   logInvPG.getActualDemandTasksList(),			   logInvPG.getSupplyList(),			   logInvPG.getProjSupplyList(),			   logInvPG.getBufferedCritLevels(),			   logInvPG.getBufferedInvLevels(),			   logInvPG.getBufferedTargetLevels(),			   logInvPG.getIsLevel2(),			   aCycleStamp);	}    }