def GenerateCompleteReport(startDate, endDate, location): # reports = ["MBR/0-Cover", "MBR/1-Total Power", "MBR/2-CriticalPower", "MBR/3-Cooling", "MBR/4-Generators"] # reportBytes = [] # for report in reports: # repParams= {"StartDate":startDate, "EndDate":endDate, "location":location} # print report # try: # bytes = system.report.executeReport(path=report, parameters=repParams, fileType="pdf") # except: # bytes= system.report.executeReport(path=report,project=system.util.getProjectName(), parameters=repParams, fileType="pdf") # # reportBytes.append(bytes) # # return system.artek.mergeMultiPDF(reportBytes) return null