Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

How to use Complex Query Ranges in Dynamics AX

$
0
0
Use of Complex Query Ranges in Dynamics AX 1. Adding a query with a datasource. query = new Query(); dsInventTable = query.addDataSource(tableNum(InventTable)); // Add our range queryBuildRange = dsInventTable.addRange(fieldNum(InventTable, DataAreaId)); 2. Simple criteria Lets find the record where the value of ItemId field is Item1. Take note of the single quotes and parenthesis surrounding the entire expression. queryBuildRange.value(strFmt('(ItemId == "%1")', queryValue("...(read more)

Viewing all articles
Browse latest Browse all 17314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>