Redigera

Dela via


Report.Quit() Method

Version: Available or changed with runtime version 1.0.

Aborts the processing of a report or XmlPort.

Syntax

 Report.Quit()

Parameters

Report
 Type: Report
An instance of the Report data type.

Remarks

When you use the QUIT method, the report or XMLport is exited without committing any changes that were made to the database during the execution. The OnPostReport Trigger or OnPostXMLport Trigger trigger will not be called.

Example

The following example shows how to use the QUIT method to abort an execution without committing any changes that were made during the processing.

  
// Do some database processing.  
CurrReport.QUIT;  
  

Report Data Type
Get Started with AL
Developing Extensions