Hello everyone, how to set value in range using X++?
I also check the available override methods, which method should I put addRange?
I want to put value here using X++ code

Hello everyone, how to set value in range using X++?
I also check the available override methods, which method should I put addRange?
I want to put value here using X++ code
Views are synchronized to database, therefore you can't change them at runtime.
But you can use a query to fetch data from the view, and you can easily add ranges to the query.
Query query = new Query(); QueryBuildDataSource ds = query.addDataSource(viewStr(MyView)); ds.addRange(fieldNum(MyView, MyField)).value(queryValue(...));