AifQueryBuilder.getQueryRun Method [AX 2012]

Retrieves the QueryRun object that is used by the Query Service to retrieve the data.

Syntax

public QueryRun getQueryRun()

Run On

Called

Return Value

Type: QueryRun Class
The QueryRun object that is used by the Query Service to retrieve the data.

Remarks

The QueryRun object must be initialized by the initialize method.

The retrieved QueryRun object is used by the Query Service to retrieve the data.

The QueryRun object is used only to retrieve data and does affect the schema of the returned data set.

The runtime query used by the QueryRun object does not have to be the same as the query returned by getQuery method.

Only data from the data sources that are included and enabled in both that query and the runtime query are sent back to the caller.

Data sources are identified by name, not the index.

See Also

Reference

AifQueryBuilder Class