InventOnHandQuery.addLinkToItemId Method [AX 2012]
Adds a link from the specified data source to the data source of the on hand query that holds the reference to InventTable.
Syntax
protected void addLinkToItemId(QueryBuildDataSource _dataSource, FieldId _itemIdField)
Run On
Called
Parameters
- _dataSource
Type: QueryBuildDataSource Class
The data source that needs to be joined with the on hand query based on the reference to InventTable.
- _itemIdField
Type: FieldId Extended Data Type
The ID of the ItemId field in the data source.