Skip to main content

Posts

C/AL Code Support (Syntax Highlighting) in Araxis Merge

   Araxis Merge is well known and one of the commonly used file comparing and merging tool across the globe. Which offers Two-way & Three-way (only for Professional Edition) compare and merge changes in text files. If you want to know more about this tool visit, https://www.araxis.com/merge/features.en Now to the point, Araxis Merge doesn’t support C/AL code and treats NAV text object as plain text so NO Syntax Highlighting. but with this simple tweak Araxis can great C/AL code editor and better at code r eadability.    This how Araxis will like look after this following tweak.  I am sharing my  Araxis Merge options configuration file (.mop7) , where I added all the C/AL keywords.  Google drive link below. https://drive.google.com/file/d/1XImUUhZ44l7IoX9h1qgZSfrSRt8DAW99/view?usp=sharing After downloading the file import this into your Araxis merge, steps below. 1. Open Options 2. Click Open Saved Options... 3. ...

How to record steps of a Microsoft Dynamics NAV problem "professionally"

       As  a Dynamics NAV developer/technical support there might be an instance where your client user wrote a mail  describing his/her issue with a snapshot like this. And you are like, “ wow! this explains a lot, too much information to process. Hmmm. . ..” After this you might exchange trail of mails or schedule a voice call or screen sharing session to  understand this issue. Asking user to replicate this issue once again, so that you could analyze the steps or do  debugging on that. This error replication process is time consuming (very unexpectedly) which kills  valuable productive time of both support technical and users. This all mumbo jumbo can be avoided if your client user is familiar or educated about a simple tool called  Microsoft Steps Recorder , which is an inbuilt tool with operating system.   To record and save steps on your computer: 1.     To open Steps Reco...

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...

C/AL Code support in Notepad++

C/AL Code support in Notepad++ Normally NAV object (.txt file) open as plain text in Notepad++ without no keyword highlighting as below. Which completely different from our native Developer Environment thus this editor is not friendly for code readability. But with importing a user defined C/AL language or UDL file in Notepad++, C/AL codes can be supported as other build-in support languages like Java or C#. Same file opened in Notepad++ after importing the UDL file. Now keywords are highlighted in multiple colours which is customizable.