Browse by Tags

  • Blog Post: Error Message Processing

    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...
  • Blog Post: The Multi-File Download Cookbook

    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...
  • Blog Post: Application Design Pattern: SELECT DISTINCT with Queries

    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...
  • Blog Post: How to control keyboards events in Add-in

    With Microsoft Dynamics NAV Role Tailored Client we’ve received possibility to add ControlAddIn to any field on page. This opens huge possibilities to extend functionality with own controls. We can create any .Net control with Visual Studio, register it in NAV controls and add it to any field on...
  • Blog Post: Memory usage when is used .NET components

    We already had few support request where NAV developers see big memory consumption increase when using .NET component. Especially when method is inside some loop. Like in this sample: FOR count := 1 TO 10000000 DO BEGIN varDOTNET :=varDOTNET.DotNetObject(); varDOTNET.SetValue('par'); CLEAR(varDOTNET...
  • Blog Post: “Timer” usage in Microsoft Dynamics NAV 2013

    Last time we have seen our “old” NTimer.dll was Microsoft Dynamics NAV 2009. It was placed in ..\Common\Microsoft Dynamics NAV\Timer\.. folder. Usually we have used it for NAS or other looping tasks. We want to have the same in Microsoft Dynamics 2013 and later, however we see that the...
  • Blog Post: NAV Design Pattern - the Released Entity Pattern

    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...
  • Blog Post: Understanding Error Code 85132273 in Connection with GETLASTERRORCODE Statements

    We recently received a few interesting requests about an error code appearing under particular circumstances: 85132273. This error might typically arise with the Windows Client but also with Web Services and NAS Services as well. Digging under the hood, this error message is related to a Primary Key...
  • Blog Post: NAV Design Pattern - Implementation of Surrogate Keys using the AutoIncrement Pattern

    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...
  • Blog Post: Introducing the NAV C/AL Cookbook

    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...
  • Blog Post: NAV Design Pattern - Journal Template-Batch-Line

    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...
  • Blog Post: NAV Application Design Pattern - Feature Localization for Data Structures

    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...
  • Blog Post: Journal Error Processing

    Today’s pattern changes the paradigm of how we’ve done error processing in Microsoft Dynamics NAV earlier by providing less-intrusive, more user-productive error processing. Meet th e Pattern This pattern describes an optimized way to handle invalid, incomplete, or inconsistent data...
  • Blog Post: Using C/AL Query Objects Instead of Nested Loops

    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...
  • Blog Post: NAV Design Pattern of the Week - Temporary Dataset Report

    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...
  • Blog Post: 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...
  • Blog Post: NAV Design Patterns: Your project now!

    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...
  • Blog Post: Creating URLs to Microsoft Dynamics NAV Clients

    The URL builder function, GETURL, is released in Microsoft Dynamics NAV 2013 R2 to reduce coding time for developers who need to create various URL strings to run application objects in either the win client, the web client, or on web services. In addition, the GETURL function makes multitenancy features...
  • Blog Post: What is the NAV Design Patterns project?

    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...
  • Blog Post: NAV Pattern of the week: Silent File Upload and Download

    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...
  • Blog Post: NAV Patterns of the Week: No. Series

    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...
  • Blog Post: PAGE.RUNMODAL actions change in Dynamics NAV 2013

    In Dynamics NAV 2009 page.RUNMODAL can have actions OK, Cancel, LoookupOk, LookupCancel, Yes, No, Close, FormHelp, RunObject, RunSystem. Like it is described at http://msdn.microsoft.com/en-us/library/dd355151.aspx you can create code like: IF Page.RUNMODAL(21, MyRecord, ...) = Action::Close THEN...;...
  • Blog Post: NAV Design Pattern of the Week: Standard Journal

    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...
  • Blog Post: NAV Design Pattern of the Week: Multilanguage Application Data

    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...
  • Blog Post: NAV Design Pattern of the Week: Copy Document

    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...
Page 1 of 2 (29 items) 12