NAV2018 Getting rid of the Text 1024 limitation

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.

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

Share thisShare on FacebookTweet about this on TwitterShare on RedditShare on Google+Share on LinkedIn

Leave a Reply