Skip to main content

Microsoft Dynamics NAV 2016 - Save Report Usage.

Hi All,

In Last Two Series of Articles we have Discussed About Event & Subscriptions and Extensions. These Two will change the How we customize the Standard Navision Solution and How we use to Release the Standard Navision Solutions to Customers.

I was thinking to Share My First Custom Solution as Event & Subscription, so Here it is one of the Most used tool to Report Usages.

If you remember an Article From Mark Brummel For Save Report Usage. In this article We will discuss How we can customize the Change with Events & Subscriptions.

How to Customize Solution In Previous Version of Navision Refer Mark Brummel Post Here.

Let's Start.

Object No. Used - 60000 & 60001.

We Need A Table To Store Report Usage which have following Fields as below -

And A Page Related to This Table To Display Report Usage.

Now If you Remember we need to add a Single Instance Codeunit for Recording Report Usage as below -

Now In Old Versions till 2015, we used to Customize the Codeunit 1 To Call these functions When a Report in Run. It used to Go Like this  -

> During FindPrinter in Codeunit 1 We used to Record Changes in Temp RecordSet.
> During LoginEnd in Codeunit 1 We used to Transfer all Temp Recordset To Actual Records in Table.

But Now with Microsoft Dynamics NAV 2016, Why Should I Modify Codeunit 1 When i Can use Events Subscriptions for Doing Change as below -

Hope you Understand, The Events Subscribers which I Used, If Not Refer the Events Series Here.

I have also Added the Report Usages Page in the Menu to See Usages.

Now How You can get this Custom Solution. Two Ways -

> Old Approach (Object Only) 
  - SkyDrive File Name - Report Usage Managment.rar

> Extension (Package for Report Usage) 
   - SkyDrive File Name - Report Usage Extensions.rar

SKYDRIVE LINK   (Folder - Microsoft Dynamics NAV 2016 - Report Usages)

** If you don't Know How to Use Extension Package Shared Refer the Extension Series Here.

Hope you like the article. Do put your feedback or suggestions as comments to the article.

Will be waiting for hearing from you. Stay Tuned.

+saurav dhyani


Popular posts from this blog

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing - 

Dynamics 365 Business Central 2021 release wave 2 (BC19) Released.

Hi Readers, As we all were expecting Microsoft have Released Business Central 2021 Release Wave 2 Today a.k.a BC19. In this article we will see what all is announced with the General Availability.  Starting Today Customers & Partners can start using Business Central 19. #msdyn365bc #bc19

Error After Restore SQL Backup of NAV 2013 Database

Hi all, we are facing a conman issue during restoring a SQL Database backup restored for NAV 2013. While Trying to run object from Object Designer we get below listed error (even the service is configured properly) - --------------------------- Microsoft Dynamics NAV Development Environment --------------------------- There are no NAV Server instances available for this database. You must ensure that a NAV Server instance is running and is configured to use the database before you perform this activity. --------------------------- OK    ---------------------------