You need to set the filters before you can get them. Also it's better to create a function (i.e. UpdatePage or InitPage and put your code there. Easier to maintain in the long run. Especially if you change this in a standard page. The OnOpenPage trigger is only called once on-open, so you might need to call the same filter. Which version of NAV is it? Something about not being able to sort on flowfields if older than 2016. Have you tried ASCENDING(TRUE);
↧