CreateIDMReport

This function is used to generate or create reports and to add the reports to IDM for a staging doc code. It does not launch the report for the user to view. See the Infor PLM for Process Reports Administration guide for information about script libraries available to perform that function.

It takes IDMReportParams object as Input and gives IDMReportResult object as Output.

Here is an example script:
Dim reportParams as New IDMReportParams
Dim reportResult as New IDMReportResult

reportParams.xmlData = sXML
reportParams.templateFileName = "Label Content Summary Report"
reportParams.targetFileName = "Label Content Summary Report.pdf"
reportResult = CreateIDMReport(reportParams)