SMAServiceFunctionLine.queryRun Method [AX 2012]
Retrieves the instance of the QueryRun class, which is used by the queryPrompt method.
Syntax
public QueryRun queryRun()
Run On
Server
Return Value
Type: QueryRun Class
The instance of the QueryRun class, which is used by the queryPrompt method.
Remarks
This method is used if a query prompt is the dialog, and if a Select menu item is added to a dialog box. Do not create the instance of the QueryRun class when this method is called. Do it in the unpack method and the initParmDefault method, or in the init method.