Recently I experienced a very strange behavior in NAV2016 with SaveValues and Worksheets. I made a worksheet like a Financial Journal with the following properties.
As you can see the “SaveValues” property is on and the “PageType” is Worksheet.
In my previous post I explained how easy it is to do modifications without changing the Menusuite or default code. When implementing this idea in a previous NAV version I experience a strange behavior. Every time I try to print a report I got stuck in an endless loop. The report is printed or print previewed but the request page comes back. Very annoying.
So I investigate this behavior and found that the CAL syntax CurrReport.QUIT doesn’t work as expected in the InitReport Session. As I supposed the report must QUIT executing after this line of code, but for some strange reason it won’t.
To make my idea work I came up with the following alternative.