RPayTblTransFormCreate.queryRun Method [AX 2012]

Returns the QueryRun, which is used by the QueryPrompt.

public QueryRun queryRun([QueryRun _queryRun])

Run On

Server

Parameters

_queryRun
Type: QueryRun Class

Return Value

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

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.

Show: