AxdBase.prepareForQuery Method [AX 2012]

Prepares a query before executing the query.

Syntax

public void prepareForQuery(QueryRun _queryRun)

Run On

Server

Parameters

  • _queryRun
    Type: QueryRun Class
    The initiated queryRun object in the Axd document.

Remarks

The prepareForQuery method does nothing. Derived classes can override if the corresponding query needs preparation before execution if working on temporary tables. For example, the AxdPriceList.prepareForSave method.

The prepareForSave method is called immediately before executing the query.

This method is intended only to be used internally, and should not be called through the interface.

See Also

Reference

AxdBase Class