Report Logging in NAV 3.7

couberpu
Member Posts: 317
Hi,
I read about report logging in NAV 5.0 and 2009 and it is very good.
We are still running NAV 3.7, is there a way to do the same?
Please advise.
Thanks,
Couber
I read about report logging in NAV 5.0 and 2009 and it is very good.
We are still running NAV 3.7, is there a way to do the same?
Please advise.
Thanks,
Couber
0
Comments
-
Hi to myself,
Is it true that codeunit 1 always involved when running a report?
Please help.
Thanks,
Couber0 -
I am thinking about adding code in FindPrinter to log reports not using systemprinter.
Since most of the reports are not using system printer and I can do a one time scan to identify how many reports are using system printers. This should work.
** The goal here is to figure out whay report was needed for new ERP system.0 -
Well, I asked the question and I kind of played one man show here.
This is the blog helped me out:
http://blogs.msdn.com/b/nav/archive/201 ... usage.aspx
Even with NAV 3.7, I can use the idea in this great blog and comments about using FinfPrinter and using COMMIT to create a report log, with the exception that use system printer = yes.
One thing I did different is to add a usage counter to count how many times a report was used, with ReportLog.SETRANGE("Report ID",ReportID); and ReportLog.Usage += 1;
Thanks0 -
Yes you can add some code in CU1\FindPrinter trigger, but the problem is that in this particular place system cannot
insert a record to any tableso there will be error if you put there:
ReportLog.Insert;
I had the same problembut I managed to solve it by force NAV to write the report-excecutions in the external text file.
p.s.
we have Nav 4.03 sp3http://www.reinwestuj.pl Inwestuj w nieruchomości. Condohotele, aparthotele.0 -
easy-navi wrote:Yes you can add some code in CU1\FindPrinter trigger, but the problem is that in this particular place system cannot
insert a record to any tableso there will be error if you put there:
ReportLog.Insert;
I had the same problembut I managed to solve it by force NAV to write the report-excecutions in the external text file.
p.s.
we have Nav 4.03 sp3
Yes, I did run into a big error message box. But the error message suggested to use COMMIT after the INSERT, or MODIFY, to fix the error. It was also confirmed by Mike G. of his comment on the blog mentioned above.0 -
Be careful with a COMMIT which may be in the midst of a whole process.
This problem can also be overcome by using a temptable, see http://dynamicsuser.net/blogs/mark_brummel/archive/2009/12/01/tip-20-save-report-usage.aspx for details0 -
BernardJ wrote:Be careful with a COMMIT which may be in the midst of a whole process.
This problem can also be overcome by using a temptable, see http://dynamicsuser.net/blogs/mark_brummel/archive/2009/12/01/tip-20-save-report-usage.aspx for details
Thanks.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions