Generating an EFT Server Report (GenerateReport)

Available in EFT Server 6.1 and later.

The ICIServer::GenerateReport method allows you to generate an EFT Server report.

HRESULT GenerateReport(

IDispatch* pdispReportParams, //[in] ICIReportActionParams in-terface

// containing report parameters

BSTR bzGeneratedReportPath); //[in] Local file to put the report to

Example (VBScript):

Set ReportParams = CreateOb-ject("SFTPCOMInterface.CIReportActionParams")

'Setup report name, filters, period

' ...

ReportParams.ReportFileFormat = PDFFormat

Server.GenerateReport(ReportParams, "C:\Report\Report.pdf")