SrsReportRunController.runToScreenPrintArchive Method [AX 2012]

Prints a report archive after rendering to screen is completed.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          protected void runToScreenPrintArchive([SrsReportDataContract _reportContract])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void runToScreenPrintArchive([SrsReportDataContract _reportContract])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void runToScreenPrintArchive()

  Microsoft Dynamics AX 2012 (FPK)
          protected void runToScreenPrintArchive()

  Microsoft Dynamics AX 2012 (SYS)
          protected void runToScreenPrintArchive()

Run On

Called

Parameters

Exceptions

Exception Condition
Error

A function is called when archive is not required or the archive contract has not been correctly configured.

Remarks

Calls the SRSReportRunService to print to file and save to archive.

See Also

Reference

SrsReportRunController Class