ProdRecBasketHandler.findOrAddBasketDataSource Method [AX 2012]

Finds or creates a datasource referencing the ProdRecBasketRecords table on the query of the specified form.

public QueryBuildDataSource findOrAddBasketDataSource(TableId _mainTableId, Query _query)

Run On

Called

Parameters

_mainTableId
Type: TableId Extended Data Type
The ID of the table of the main datasource on the form.
_query
Type: Query Class
The current query of the form.

Return Value

Type: QueryBuildDataSource Class
An instance of a QueryBuildDataSource class.

Community Additions

ADD
Show: