if(humanReadable) { header ="<" + INVENTORY_HEADER_PERSON_READABLE_TAG + " org=" + orgId + " item=" + assetName; } else { header ="<" + INVENTORY_HEADER_GUI_TAG + " org=" + orgId + " item=" + assetName; }
protected void logHeaderStartToXMLOutput(Asset invAsset,					     Organization anOrg,					     boolean level2Inv,					     boolean humanReadable){	String orgId = anOrg.getItemIdentificationPG().getItemIdentification();String assetName = invAsset.getTypeIdentificationPG().getTypeIdentification();String header;if(humanReadable) {header ="<" + INVENTORY_HEADER_PERSON_READABLE_TAG + " org=" + orgId + " item=" + assetName;}else {header ="<" + INVENTORY_HEADER_GUI_TAG + " org=" + orgId + " item=" + assetName;}header = header + " unit=" + getUnitForAsset(invAsset);TypeIdentificationPG typeIdPG = invAsset.getTypeIdentificationPG();if (typeIdPG == null) {logger.warn("No typeIdentificationPG for asset");}String nomenclature = typeIdPG.getNomenclature();if(nomenclature==null){nomenclature = assetName;if(level2Inv) {SupplyClassPG supplyPG = (SupplyClassPG)invAsset.searchForPropertyGroup(SupplyClassPG.class);if (supplyPG != null) {nomenclature = supplyPG.getSupplyType();}}}header = header+" nomenclature=" + nomenclature;if(humanReadable) {header = header+" cDay="+(new Date(startCDay.getTime()))+ ">";}else {header = header + " cDay=" + startCDay.getTime() + ">";}writeNoCycleLn(header);}