With NAV2015 we got Text variable with length only limited by DotNet (1 billions characters). But the standard NAV application still had several 1024  characters limitation, one of them was the handling of filtering on dimension values.


In blog post there is an example with a loop. Inside the loop, a function returning 1024 characters of a filter set using the GetNextDimSetFilterChunk function in codeunit 408.

When trying to compile the above code with NAV2018, the GetNextDimSetFilterChunk function is no longer present and you’ll get a compile error.

Microsoft has remove that function and you can replace the entire loop with just:

Filter := DimensionMgt.GetDimSetFilter();

Easy, peasy :I

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.