ReqQueryBuildHelper.addDataSource Method [AX 2012]

Adds a data source to the query, either at the root or as a child to the previously added data source, if any.

public QueryBuildDataSource addDataSource(TableId _tableId, [str _name])

Run On

Called

Parameters

_tableId
Type: TableId Extended Data Type
The ID of the table to add.
_name
Type: str
The name of the data source

Return Value

Type: QueryBuildDataSource Class
A QueryBuildDatasource instance that represents the added data source.

Community Additions

ADD
Show: