Browse by Tags

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

    Describing design patterns is something that has been done for various programming languages and business areas over the years. As well, Microsoft Dynamics NAV developers are using recurring solutions to solve common problems which are specific to enterprise resource planning software and even more,...
  • Blog Post: Add attachment stream on SMTP not always working

    This week I did work on a support case where the partner mentioned that adding an attachment from a stream does not always work. The partner delivered a code unit that we used to further analyze the issue. As it was not necessary to further develop a fix for this, we decided to just post the outcome...
  • Blog Post: Reading and Writing Unicode Files using C/AL

    Hello, We have had some partner suggestion for adding Unicode capabilities to the existing Microsoft Dynamics NAV File functions. What we recommend is to use .NET Interop to achieve this functionality. For example, you can use an instance of the System.IO.StreamWriter class to write to an OutStream...
  • Blog Post: Writing Unit Tests in C/AL

    What is a unit? A unit is any code that encapsulates an implementation. It could be one or a combination of individual functions or triggers. Thus, a unit could also refer to a local function. A unit, from the C/AL perspective, has the following: Inputs: Database state, input parameters, global...
Page 1 of 1 (21 items)