SrsReportRunInterface Interface [AX 2012]

This class is an interface and provides a set of APIs to integrate running a report programmatically.

Syntax

interface SrsReportRunInterface

Run On

Called

Methods

  Method Description
Gg940386.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif getParameterGroupInfo
Gg940386.pubmethod(en-us,AX.60).gif getRdpReportParameter Gets the report parameter instance for the contract data member method name.
Gg940386.pubmethod(en-us,AX.60).gif getReportRunAdapter Gets an instance of the SrsReportRunAdapter class that is required to view the report in the viewer.
Gg940386.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif initializeContract Initializes the underlying report contracts
Gg940386.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif parmIsInBatch Gets or sets a value that indicates whether the report is running inside a batch job.
Gg940386.pubmethod(en-us,AX.60).gif parmReportContract Gets or sets the SrsReportDataContract object for the report.
Gg940386.pubmethod(en-us,AX.60).gif postRunReport Runs any post processing that is required after running the report.
Gg940386.pubmethod(en-us,AX.60).gif preRunReport Runs any processing that is needed before the report is run.
Gg940386.pubmethod(en-us,AX.60).gif runReport Runs the report using the data contract.
Gg940386.pubmethod(en-us,AX.60).gif saveReportArchive Saves a report in a print archive.
Gg940386.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif validateContract Validates the contract values.
Gg940386.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg940386.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Remarks

This interface should be used when you want to run a report from your form or code. Application developers who want to take complete control over the rendering and running of a report should use these APIs.

Some of the use cases could be:

  1. Custom form that must run the report.

  2. Custom implementation of the Controller class of the SysOperation framework.

  3. Batch printing – An example is to iterate over each customer record and print the invoice for the customer.

  4. Change the report design that is being used at runtime.

  5. Change the culture or company that is being used at runtime.

This is a framework class. Customizing this class may cause problems with future upgrades to the software.

Inheritance Hierarchy

Object Class
  SrsReportRunInterface Interface