Share via


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.

Syntax

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

Run On

Called

Parameters

  • _name
    Type: str
    The name of the data source

Return Value

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

See Also

Reference

ReqQueryBuildHelper Class