NAV Design Pattern of the Week – the Hooks Pattern

A new series of NAV Design Patterns is just starting. To make a good beginning, the first one is not chosen randomly. It is indeed a very powerful pattern – the “Hooks”, by Eric Wauters. It is also different from most patterns you’ve seen so far, in that it does not exist in the core product. “How can it be? A powerful NAV pattern which is not in NAV?”, you wonder.

This is exactly the point of the Hooks. It is a partner pattern – something you, as a partner, can use, when you implement your customization. And if done correctly, it has the potential to make the next upgrade superfast.

Bron : Microsoft Dynamics NAV Team Blog
Lees meer…

A Table Hook to minimize the upgrade work

In a line with the methods introduced by Partner Ready Software I am now upgrading old code to NAV 2013 R2 with the goal to modify the standard objects a little as possible.

I don’t recall Mark, Waldo, Gary or Vjeko speaking about a Table Hook but I decided to go that way anyway. As an example I have about twenty new field for the Customer Table. Instead of creating these fields in table 18 I create a new table that I call Customer Hook. The Hook Table must include the fields from the primary key and the primary key it self from the Master Table.

Bron : Gunnar’s Blog
Lees meer…