Skip to main content

Posts

Showing posts with the label NAVISION

FinCAL - Powerful NAV Object Viewer

As a Dynamics NAV Developer, we always wished our Dynamics NAV Development Environment could deliver more feature like other IDE. A simple feature like code navigation is so tedious you simply lost track or press ESC key accidentally. We wish this developer environment with folding lines to indicate indentation with collapse and expand feature not just only for Function or Procedure level. Could bookmark a code line and track back later. And last but not the least we (at least I) wished keywords are more glorious or eye catching. I am working on this project for last 3 months and more to create and Dynamics NAV IDE Source code viewer to enhance NAV source code file readability. My fellow Dynamics NAV developer presenting FinCAL – A powerful Dynamics NAV Source Code Viewer. This is still in its infant stage and I am continuous working on more advance features like integrating Code Metrics to calculate our code efficiency. More on upcoming updates. .  .. ...

How to use Code Coverage effectively: Part 2/2

:: Customizing Code Coverage ::    Before beginning this session, if you are new to code coverage, let's have a quick overview. What is Code Coverage?    Code coverage is the means of being able to track which part of the application code has been exercised during an activity. In Microsoft Dynamics NAV, code coverage is recorded by C/AL code line and specifies if a code line was exercised by the activity and the number of times the line of code was executed . How to open Code Coverage?    path: /Departments/Administration/Application Tools    click here open  Code Coverage  directly. How to Start Code Coverage Monitoring?     Before beginning your process open Code Coverage window and click Start. " This starts the code coverage engine, and code coverage is captured. However, you will not be able to see any updated information until you choose Refresh or Stop . The information contains coverage of o...

How to use Code Coverage effectively: Part 1/2

:: Optimizing  Code Coverage Page  ::    As a Dynamics NAV developer, we all are fa miliar with this veteran tool for code tracking, The Code Coverage. This tool is very different from debugging as we don’t halt the transaction or process with breakpoints. It simply track all the codes executed during its capturing process from start to stop. It tracks all the code lines and count the line hit during the execution.    In Dynamics NAV previous versions like 2009 SP1 & 2009 R2 it was a great tool for developers to fix calculation issues which doesn't cause runtime error, Third party tool integrations or Tracking codes for developing new functionality in a module.    It feels gloomy to realize how this tool has lost its usability in recent versions. Recently I encountered G/L CONSISTENCY error in a transaction which is nothing but a calculation traggic in one of G/L entry. I tried debugger but unfortunately it didn’t work for me. Then...