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.

Regards,
+saurav dhyani
saurav-nav.blogspot.com

Comments

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

BC 21 and Higher - PowerShell Cmdlet (Replacement of Business Central Administration).

Hi Readers, As discussed in last article about deprecating of Business Central Administration, there are few common actions that we use in administration till Business Central 20. For our on-prem customers, we will still require doing activities. As Microsoft suggest we need to start using PowerShell cmdlet.    Let's see how to do those via PowerShell, or Administration Shell. I will be keep adding commands as you comment to this article.

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 -