Share via


SrsReportRunController.renderingCompleted Method [AX 2012]

Occurs when report rendering is completed.

Syntax

protected void renderingCompleted(SrsReportRunController _sender, SrsRenderingCompletedEventArgs _eventArgs)

Run On

Called

Parameters

Remarks

Write event handlers and hook into this to handle the rendering complete event. The SrsReportRunController.renderingCompleted event does not exist on the server side. For example, see the CustInterestNoteFormLetterController class in the AOT > Classes node. The following code illustrates the event handler that is registered in the main method:

{SrsReportRunController reportRunController = new CustInterestNoteFormLetterController();    reportRunController.parmReportName(PrintMgmtDocType::construct(PrintMgmtDocumentType::CustInterestNote).getDefaultReportFormat());    reportRunController.parmArgs(_args);    reportRunController.renderingCompleted += eventhandler(CustInterestNoteFormLetterController::renderingComplete);    reportRunController.startOperation();}

During execution of this report in a batch mode the event is not called. Override the run method and the event can be registered for the server side event.

See Also

Reference

SrsReportRunController Class