O'Reilly logo

Microsoft Dynamics NAV 2015 Professional Reporting by Steven Renders

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Report logging

Did you know that, every time you run a report, the system executes a function in code unit 1, application management to determine whether the report has a custom layout or only a built-in layout? You can use this to your advantage to implement report usage logging. In the following example, I will demonstrate how you can implement a log table that will keep track of who is running which report at what moment, and also which layout was used to render the report.

First, let's create a log table. The table is named Report Execution Log:

Report logging

It contains fields which log who is running which report, at what moment, and the type of layout. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required