QueryBuildDataSource.addDataSource Method [AX 2012]

Adds a data source that is embedded in this data source.

public QueryBuildDataSource addDataSource(
    anytype arg, 
   [str name, 
    boolean emptyFieldList])

Run On

Called

Parameters

arg
Type: anytype
The table that is assigned to the data source.
name
Type: str
The name for use for the data source that is added; optional. If no name is specified for the new data source, the name of the table is used.
emptyFieldList
Type: boolean

Return Value

Type: QueryBuildDataSource Class
The new data source.

Top-level data sources are created by using the addDataSource method.

Community Additions

ADD
Show: