QueryRun.get Method [AX 2012]
Retrieves the record fetched by the previous call to next method.
public Common get(TableId table, [int occurrence])
Run On
CalledParameters
- table
- Type: TableId Extended Data Type
The table identifying the data source from which to retrieve the record.
- occurrence
- Type: int
The data source to be addressed; optional. The number of the data source with the given table; 1-based.
If more than one data source has the same table assigned to it, this (optional) parameter can be used to specify which one is to be addressed. It specifies the number of the data source with the given table. Thus, if the CustTable table is assigned to two data sources, and the second data source is required, this argument should have the value 2.
Return Value
Type: Common TableReturns the record fetched from the data source identified by the arguments.
Community Additions
ADD
Show: