The views expressed in this blog are those of the individual and do not necessarily represent those of Microsoft. This information is provided by way of general information only and should not be relied on without obtaining independent expert advice. These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.

Browse by Tags

Do you remember when, a year and a half ago, at NAV Tech Days, you gave us feedback on the NAV Design Patterns session - saying that Journal Error Processing is not generic and decoupled enough?
Well, my colleagues Andreas Moth and Jesper Schulz from the NAV localization team at Microsoft Development...

Today's pattern is not a pattern but a "cookbook" that shows how to use the FileManagement library to download multiple files as a .zip file through Microsoft Dynamics NAV in a way that works on all types of clients.
Abstract
The goal of this pattern is to enable the users to download multiple...

This pattern explains how to perform SELECT DISTINCT by using queries in Microsoft Dynamics NAV. It is brought to you by Bogdana Botez from the Dynamics NAV team here at Microsoft Development Center Copenhagen (MDCC).
When you work with tables, sometimes you must perform a SELECT DISTINCT (also known...

This pattern is brought to you by Mostafa Balat from the Dynamics NAV team here at MDCC in Denmark.
Best regards,
The NAV Patterns team
Meet the Pattern
When there is a need to use .NET classes within C/AL, one of the main challenges is to handle the exceptions the methods of these .NET classes...

Recently, the NAV Design Patterns team published the C/AL Coding Guidelines that we use at Microsoft Development Center Copenhagen to the Dynamics NAV Community Wiki site. Please join us there if you want to read and discuss the guidelines.
However, we've been asked for a printable version of the...

Happy New Year, everyone!
With the new year, here's a new pattern to warm us up. Coming from a Danish partner, this pattern describes how to handle data entities when they need to be in a consistent or in a certain state before further processing can be allowed. Thank you Henrik Langbak and Kim Ginnerup...

If you’re just starting with NAV, this pattern is a must-know for any NAV developer or consultant. Thanks to Xavier Garonnat from knk Ingénierie in France for documenting it.
Best regards,
The NAV Patterns team
Meet the Pattern
A document structure contains a header and a set...

One of the good things about having the NAV Design Patterns project open to the community, is that we get to hear about the experiences and design considerations of the NAV partners, which brings to light practices from other places than MDCC. Find below a pattern described by Henrik Langbak and Kim...

This week's pattern describes how to link tables in a generic way, so that satellite tables (such as a comment table) can be linked to multiple different master tables, each having its unique related comment lines. You can find all published patterns on the Dynamics Community Wiki site.
Meet the Pattern...

While talking about design patterns, we often came upon a different category of code solutions. Useful, reusable, good practice code solutions which are just not design patterns. They might be APIs, they might be mini-features, new platform functionality, or services.
We don't want to throw away those...

Meet the Pattern
To mitigate usability problems with learnability or discoverability of Microsoft Dynamics NAV functionality, it is possible to embed instructions in the user interface (UI) in connection with the task that the user is performing. The goal is to explain how to use the product or feature...

This week, the pattern is familiar to most C/AL developers, but if you are new to Microsoft Dynamics NAV, or if you need a refresher, here is the pattern behind journal templates, batches, and lines.
Meet the Pattern
The role of a journal line is to temporarily hold transaction data until the transaction...

Meet the Pattern
This pattern shows a solution for integrating W1 features to pre-existing country features that use different tables to achieve similar functionality.
Know the Pattern
It sometimes happens that certain features are requested in a country/region that is supported by Microsoft...

After a bit of a delay, here is the latest Microsoft Dynamics NAV design pattern, brought to you by the NAV Design Patterns team.
Meet the Pattern
This pattern shows how the new query object type introduced in Microsoft Dynamics NAV 2013 allows you to replace costly loops when inspecting data from...

After a short delay, here is the latest design pattern, brought to you by the Microsoft Dynamics NAV Design Patterns team.
Meet the Pattern
This pattern generates the data to be displayed dynamically by combing/processing several data sources. It then displays the resulting dataset without writing...

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 NAV Design Patterns Wiki site was announced in November, as a repository containing the first NAV design pattern descriptions, together with a call for contributions.
We would like to say “welcome to the team”, to our new design patterns authors. Their patterns are linked below. If...

As the design patterns hit the NAV C/AL developers world, they've got quite a reaction from the community:
"We've also tried this in our company, but it worked | didn't work" "Have you ever thought of... ?" "This pattern would be better if ..." "I have a few examples of patterns that we use and work...

A team of people interested in NAV application design has come together to work on naming and surfacing design solutions to common NAV business needs. When those solutions are generic enough to be applied in various places of the NAV application, with slight variations on implementation but mainly respecting...

The Reusable Dynamics NAV Patterns is a joint initiative between the NAV team and NAV partners. This is an open initiative to anyone who has documented design patterns which are specific to NAV, please reach back to us either by leaving a comment here, or by writing to us . The NAV Pattern of the week...

The Reusable Dynamics NAV Patterns is a joint initiative between the NAV team and NAV partners. This is an open initiative to anyone who has documented design patterns which are specific to NAV, please reach back to us either by leaving a comment here, or by writing to us . Last week's pattern got delayed...

The Reusable Dynamics NAV Patterns is a joint initiative between the NAV team and NAV partners. This is an open initiative to anyone who has documented design patterns which are specific to NAV, please reach back to us either by leaving a comment here, or by writing to us . This week, we introduce the...

The Reusable Dynamics NAV Patterns is a joint initiative between the NAV team NAV partners. This is an open initiative to anyone who has documented design patterns which are specific to NAV, please reach back to us either by leaving a comment here, or by writing to us . This said, it's almost weekend...

The Reusable Dynamics NAV Patterns is a joint initiative between the NAV team NAV partners. This is an open initiative to anyone who has documented design patterns which are specific to NAV, please reach back to us either by leaving a comment here, or by writing to us . This being said, find below the...