RetailConnActionGeneratorMaster.queryRun Method [AX 2012]

Returns the QueryRun, which is used by the QueryPrompt.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R2 Cumulative Update 7
          public QueryRun queryRun()

  Microsoft Dynamics AX 2012 R2 (SYS)
          public QueryRun queryRun()

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public QueryRun queryRun([QueryRun _queryRun])

Run On

Server

Return Value

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

The original signature accepted a _queryRun argument that could be used to set the query. This is no longer supported.

The reason is that the query should respect the pre-action table-id filter specified through parmPreactionTableIdFilter and with a queryRun passed in, we cannot enforce that.

Show: