Share via


RPayTblAutoGenerate.queryRun Method [AX 2012]

Returns the QueryRun, which is used by the QueryPrompt.

Syntax

public QueryRun queryRun([QueryRun _queryRun])

Run On

Server

Parameters

Return Value

Type: QueryRun Class
The QueryRun, which is used by the QueryPrompt.

Remarks

This method is used if a query prompt is the dialog, and if a Select menu item is added to a dialog.Do not instantiate the queryRun whenever the method is called. This should be done in the unpack method and the initParmDefault method. Or it should be used in the init method (if this is used) or in the method only when it is not instantiated.

See Also

Reference

RPayTblAutoGenerate Class