Monthly Archives: November 2015

NAV2016 | Hooks vs. Events

One question that is raised a lot lately is how events and hooks are compared and when to use events and when to use hooks. The answer to this question is very simple if you are not on NAV2016, as … Continue reading

Posted in Clean Coding Principles, Dynamics NAV, Events and Extensions, NAV2016 | 4 Comments

The “Handled” Pattern

If there was a Pattern of the year award, last year the Arguments table would have won. The year before the Hook pattern. Or maybe that was the year before. This year in my opinion it is the Handled pattern … Continue reading

Posted in Design Patterns, Dynamics NAV, Events and Extensions, NAV Architecture, Patterns & Code, NAV2016 | Tagged , | 5 Comments

NAV2016 | Refactoring & Transaction Mirroring in Codeunit 80 & 90

In Microsoft Dynamics NAV we don’t have Abstract Classes or Inheritance. These are modern technologies that make sure that objects in your application have similar elements and signatures. Despite the lack of these modern concepts NAV does have many tables … Continue reading

Posted in Dynamics NAV, NAV Architecture, Patterns & Code, NAV2016 | 8 Comments

How I upgraded to NAV2016, without upgrade toolkit

Back home from NAVTechDays. It’s a rainy saturday, nothing much to do in the garden. Kids are playing or doing their saturday activities with sports and scouting. I figured it was time for me to catch up with bookkeeping and … Continue reading

Posted in Dynamics NAV, General, NAV2016, Upgrade | 4 Comments

NAV2016 | Code Editor Undocumented Features

There have been some blogs already about the new code editor that we have in NAV2016. In these blogs I miss two “features” that are not highligted. The first one is really about highlighting:

Posted in General, NAV2016 | 5 Comments

Tip #55 | Add RDLC option to Visual Studio 2015 Community Edition

In Microsoft Dynamics NAV 2016 CU1, support for VS2015 Community Edition has been implemented. However if you do a default install of VS2015CE, the RDLC editor is not included and your report will show up as XML instead of the … Continue reading

Posted in Tips and Tricks | 8 Comments

Tip #54 | PowerShell Merge – A clustered key can appear only once in a table

If you upgrade your database to NAV2016 using the PowerShell Merge commandlets and have a change to table 49 you will run into this issue. Table 49 is the Invoice Posting Buffer table that NAV uses to create G/L entries … Continue reading

Posted in Tips and Tricks | 2 Comments

NAV2016 | Events, implementing Loose Coupling in ERP

With the release of NAV2016 we get new possibilities for making changes to the product without raw source code modification. This is called “events” and the concept is “stolen” from DotNET.

Posted in Design Patterns, Dynamics NAV, NAV2016 | Tagged | 4 Comments

NAV2016 CU1 | The AltSearchField field property does not work as documented

Whenever I teach a class I always talk about boat anchors and my favorite one is the AltSearchField property. Luc van Vugt describes it on his blog: It is one of these features that we inherrited in the Windows version … Continue reading

Posted in Design Patterns, NAV2016 | Tagged | 9 Comments

Using Argument Tables | Introducing Overloading in Dynamics NAV

Last year I did some videos about organizing code in Microsoft Dynamics NAV which I put on my YouTube channel. I wanted to do more, but got occupied by writing a book about learning dynamics NAV patterns and organizing a … Continue reading

Posted in Abstract Classes, Design Patterns | Tagged | 8 Comments