Share via


RunBaseReport.initQuery Method [AX 2012]

Initializes the query that is used in the report.

Syntax

protected Query initQuery()

Run On

Called

Return Value

Type: Query Class
The Query used in the report.

Remarks

The default query is the query that is defined in the report in the Application Object Tree (AOT).

This is the method to override if you want to modify the query.

The method is called from RunBaseReport.initQueryRun method.

super must be called.

See Also

RunBaseReport Class

RunBaseReport.initQueryRun Method

RunBaseReport.initParmDefault Method

RunBaseReport.unpack Method