Dynamics 365 Business Central: report extensions and global variables in preview mode

Today I received a call from a partner that was going crazy on a problem during the preview of some statistical reports in Dynamics 365 Business Central.

The report was a custom modification of an existing one (done via a reportextension object). In this reportextension, the partner added some global variables used to perform filters and actions on the report’s dataitem, but the report seems not working correctly on preview (global variables changed in the request page was cleared).

Source : Stefano Demiliani
Read more…