Dynamics User Group
Dynamics User Group
  • Site
  • User
  • Site
  • Search
  • User
Dynamics 365 Business Central/NAV User Group
Dynamics 365 Business Central/NAV User Group

Gunnar's Blog

  • Forums
  • Blogs
  • Resources
  • Wikis
  • Events
  • Leaderboards
  • Members
  • Mentions
  • Tags
  • More
  • Cancel
  • New
Dynamics 365 Business Central/NAV User Group requires membership for participation - click to join (it's free)
Gunnar's Blog

  • Home
  • Subscribe by email
  • More
  • Cancel
  • Posts RSS
  • Atom
  • More
  • Cancel
Monthly archive list
  • August 2019 (2)
  • March 2019 (3)
  • February 2019 (4)
  • January 2019 (2)
  • July 2018 (6)
  • April 2018 (4)
  • March 2018 (6)
  • February 2018 (4)
  • January 2018 (6)
  • September 2017 (5)
  • August 2017 (7)
  • May 2017 (2)
  • February 2017 (4)
  • January 2017 (3)
  • December 2016 (5)
  • November 2016 (2)
  • October 2016 (4)
  • May 2016 (1)
  • April 2016 (1)
  • March 2016 (7)
  • February 2016 (1)
  • December 2015 (3)
  • November 2015 (2)
  • October 2015 (2)
  • September 2015 (3)
  • August 2015 (1)
  • July 2015 (8)
  • June 2015 (1)
  • May 2015 (2)
  • April 2015 (1)
  • March 2015 (2)
  • February 2015 (2)
  • January 2015 (1)
  • December 2014 (2)
  • November 2014 (2)
  • October 2014 (7)
  • September 2014 (2)
  • July 2014 (5)
  • June 2014 (3)
  • May 2014 (3)
  • April 2014 (4)
  • March 2014 (4)
  • February 2014 (4)
  • January 2014 (8)
  • December 2013 (6)
  • November 2013 (6)
  • October 2013 (7)
  • September 2013 (4)
  • August 2013 (3)
  • July 2013 (2)
  • June 2013 (4)
  • May 2013 (6)
  • April 2013 (8)
  • March 2013 (2)
  • February 2013 (4)
  • January 2013 (4)
  • December 2012 (3)
  • November 2012 (5)
  • October 2012 (4)
  • September 2012 (2)
  • August 2012 (8)
  • July 2012 (2)
  • June 2012 (5)
  • May 2012 (6)
  • April 2012 (2)
  • March 2012 (2)
  • February 2012 (6)
  • January 2012 (5)
  • December 2011 (5)
  • November 2011 (6)
  • September 2011 (2)
  • August 2011 (3)
  • July 2011 (4)
  • June 2011 (5)
  • May 2011 (2)
  • April 2011 (2)
  • March 2011 (4)
  • February 2011 (2)
  • January 2011 (1)
  • December 2010 (3)
  • November 2010 (3)
  • October 2010 (3)
Related
Related Tags
  • activity
  • AdvaniaGIT
  • AL Code
  • AppSource
  • C/Cide Code
  • C/Side Code
  • Data Transfer
  • Data upgrade
  • Dotnet interoperability
  • Dynamics 365
  • Dynamics NAV
  • Extensions
  • How-To's
  • NAV 2009 R2
  • NAV 2013
  • NAV 2013 R2
  • NAV 2015
  • NAV 2016
  • NAV 2017
  • NAV 2018
  • Role Tailored Client
  • Solutions
  • SQL
  • Web Services
  • XML
Blog post list
  • Tags
  • Subscribe by email
  • More
  • Cancel
  • Import Tenant Data

    Gunnar Þór Gestsson
    Gunnar Þór Gestsson
    My last post was about how I got the customized data out of the tenant database into Xml files. That tenant database was from a NAV 2016 application. I have updated the tenant database to Business Central and I need to bring in some of the data from these Xml files. My first issue was that I needed to make these Xml files available to Business Central. I have been using Azure Blob to store files for some years now. I had both AL and C/AL code that was able to connect to the Azure Blob REST Api , but that code used DotNet variables that is no longer an option. I did some preparation…
    • 2019-8-23
    • Mirror post
    • Solutions
    • dynamics 365 business central
    • Business Central
    • Data upgrade
    • AL
    • 497 views
    • 0 comments
    • over 1 year ago
    • More
    • Cancel
  • Get Table Data from a tenant database

    Gunnar Þór Gestsson
    Gunnar Þór Gestsson
    I am working on a data upgrade for a customer. The existing database is from another partner and has tables and fields that my development license does not give me access to. The database in in version 2016 and I am upgrading to Business Central. So, I added some functions to the AdvaniaGIT PowerShell module . To get the table definition from the tenant database I use (Get-NAVTableMetaDataXml -DatabaseName <tenantDatabasename> -TableId 289 -Snapshot).OuterXml | Out-File C:\AdvaniaGIT\Workspace\xml.xml The resulting Xml file I can view in any Xml viewer. This…
    • 2019-8-3
    • Mirror post
    • Uncategorized
    • AdvaniaGIT
    • Data upgrade
    • Powershell
    • 489 views
    • 0 comments
    • over 1 year ago
    • More
    • Cancel
  • Add translations to your NAV/BC Server

    Gunnar Þór Gestsson
    Gunnar Þór Gestsson
    Yesterday I got a question via LinkedIn . I need to add Spanish translation to my W1 instance. How do I do that? So, let me walk you through that process. Here is my Business Central setup. It is the Icelandic Docker Container, so I have Icelandic and English. Switching between Icelandic and English works just fine. Switching to Spanish gives me a mix of Spanish and English. The Spanish translation for the platform is shipped with the DVD image and automatically installed. So are a lot of other languages. Icelandic and English are built in captions in the…
    • 2019-3-20
    • Mirror post
    • NAV 2017
    • NAV 2018
    • How-To's
    • Language
    • Business Central
    • 638 views
    • 0 comments
    • over 1 year ago
    • More
    • Cancel
  • Business Central Docker on Windows 10

    Gunnar Þór Gestsson
    Gunnar Þór Gestsson
    In Advania we are switching more and more to using the Docker images for Dynamics NAV and Business Central development. Since version 1809 of Windows 10 and the latest blog post from Arend-Jan Kauffmann we are moving to using the Docker EE engine instead of the Docker Desktop setup. Using the latest Windows 10 version and the latest version of Docker means that we can now use “Process Isolation” images when running NAV and Business Central. Not using process isolation images on Windows 10 requires Hyper-V support. Inside Hyper-V a server core is running as the platform for the processes…
    • 2019-3-7
    • Mirror post
    • Docker
    • Dynamics NAV
    • How-To's
    • Business Central
    • AdvaniaGIT
    • 1853 views
    • 0 comments
    • over 1 year ago
    • More
    • Cancel
  • Use references to break compile dependencies

    Gunnar Þór Gestsson
    Gunnar Þór Gestsson
    I was looking into a customer App yesterday. That app had a dependency defined in app.json. I wanted to look at the real requirements for this dependency. I found 1 (one) place in my code where this dependent App was used. dataitem(PageLoop; "Integer") { DataItemTableView = SORTING (Number) WHERE (Number = CONST (1)); column(Phone_No_Cust; Cust."Phone No.") { } column(Registration_No_Cust; Cust."ADV Registration No.") { } column(CompanyInfo_Picture; CompanyInfo.Picture) { } In Iceland we add a field to the Customer table (Cust.”ADV Registration No.”). Every business…
    • 2019-3-2
    • Mirror post
    • Icelandic Localization
    • Compile Dependency
    • How-To's
    • reference
    • AL
    • 589 views
    • 0 comments
    • over 1 year ago
    • More
    • Cancel
  • Logging your App Activity

    Gunnar Þór Gestsson
    Gunnar Þór Gestsson
    It is good practice to have some audit log of what uses do in the application. Some versions ago Microsoft introduced the Change Log to log data changes. How about logging an action execution? One of the built in solutions in Business Central can be used to solve this. We now have the Activity Log (Table 710). To use the Activity Log we need to have a record to attach the activity log to. All our Apps have a Setup table that usually only have one record. I like to attach my Activity Log to that record. To show the Activity Log from that record you can add this action to that record…
    • 2019-2-28
    • Mirror post
    • Solutions
    • Extensions
    • AL
    • Change Log
    • Activity Log
    • 630 views
    • 0 comments
    • over 1 year ago
    • More
    • Cancel
  • Event subscription and performance

    Gunnar Þór Gestsson
    Gunnar Þór Gestsson
    When we design and write our code we need to think about performance. We have been used to thinking about database performance, using FindFirst(), FindSet(), IsEmpty() where appropriate. We also need to think about performance when we create our subscriber Codeunits. Let’s consider this Codeunit. codeunit 50100 MySubscriberCodeunit { trigger OnRun() begin end; [EventSubscriber(ObjectType::Codeunit, Codeunit::"Sales-Post", 'OnBeforePostSalesDoc', '', true, true)] local procedure MyProcedure(var SalesHeader: Record "Sales Header") begin Message('I am pleased that…
    • 2019-2-26
    • Mirror post
    • subscribers
    • NAV 2018
    • How-To's
    • Events
    • Business Central
    • 938 views
    • 0 comments
    • over 1 year ago
    • More
    • Cancel
  • User Group Focus 2019

    Gunnar Þór Gestsson
    Gunnar Þór Gestsson
    Dynamics 365 Business Central & NAV March 13-14, 2019 On March 11th and 12th I will be teaching a VSCode and Modern NAV Development. This course will be held from 8:00am-5:00pm each day The goal of the workshop is to learn about the new development tool for Business Central (Dynamics NAV), VSCode, GIT source control management and to experience what AL programming is about • What makes AL different from C/AL • How do you build and deploy a new BC feature • How can I convert my current code into AL • How to get ready for publishing your IP to AppSource • How to use GIT for you code …
    • 2019-2-26
    • Mirror post
    • Workshop
    • session
    • Extensions
    • AdvaniaGIT
    • AL
    • 520 views
    • 0 comments
    • over 1 year ago
    • More
    • Cancel
  • JSON Interface – examples

    Gunnar Þór Gestsson
    Gunnar Þór Gestsson
    We have several ways of using the JSON interfaces. I will give few examples with the required C/AL code. I will be using Advania’s Online Banking solution interfaces for examples. The Advania’s Online Banking solution is split into several different modules. The main module has the general framework. Then we have communication modules and functionality modules. On/Off Question A communication module should not work if the general framework does not exist or is not enabled for the current company. Hence, I need to ask the On/Off question This is triggered by calling the…
    • 2019-2-4
    • Mirror post
    • Solutions
    • NAV 2018
    • Azure Function
    • Business Central
    • JSON
    • 816 views
    • 0 comments
    • over 1 year ago
    • More
    • Cancel
  • JSON Interface – prerequisites

    Gunnar Þór Gestsson
    Gunnar Þór Gestsson
    There are two objects we use in all JSON interfaces. We use the TempBlob table and our custom JSON Interface Codeunit. Abstract JSON interface uses the same concept as a web service. The endpoint is defined by the Codeunit Name and the caller always supplies a form of request data ( JSON ) and expects a response data ( JSON ). These interface calls therefore are only internal to the Business Central (NAV) server and are very fast. All the data is handled in memory only. We define these interfaces by Endpoints. Some Endpoints have Methods. We call these Endpoints with a JSON…
    • 2019-1-21
    • Mirror post
    • Solutions
    • Dynamics NAV
    • dynamics 365 business central
    • Interface
    • Azure Function
    • 628 views
    • 0 comments
    • over 2 years ago
    • More
    • Cancel
>
  • DUG Home
    • Contact DUG
  • Dynamics 365 for Finance and Operations/AX User Group
    • Forums
    • Blogs
  • Dynamics 365 Business Central/NAV User Group
    • Forums
    • Blogs
    • Wikipedia
    • Events
  • About DUG
    • Announcements
    • Frequently asked questions about DUG
    • Membership service
    • Advertise on DUG
    • Become a DUG sponsor
    • Follow us on LinkedIn
    • Follow us on Facebook
    • Follow us on Twitter
  • More
  • Cancel
  • Microsoft Dynamics 365 User Groups

  • Dynamics 365 Business Central
  • Dynamics 365 Customer Engagement
  • Dynamics 365 for Finance and Operations
  • Power Platform
  • Microsoft Dynamics User Groups

  • Dynamics AX
  • Dynamics CRM
  • Dynamics NAV
  • About
  • Contact us
  • Frequently asked questions
  • Terms of use
  • Privacy policy
Copyright 1995-2021 Dynamics User Group, all rights reserved.