Here you find a snippet to print to a socket directly in Business Central OnPrem or Dynamics NAV (as the DotNet could be run in C/AL as well). This could be helpful if you would like to print to e.g., Zebra Printers using ZPL. For testing purposes, I can recommend the ZPL Test App for […]
The other day I had a task where I had to do quite an elaborate calculation to be displayed on a Business Central page. Finally I was able to use the new page background task functionality. The idea behind these page background tasks ist as genius as it is simple. Let’s load intensive data in […]
I think one of the most frequent google searches in my earlier years as a Dynamics NAV / Business Central developer was looking up the magic of InStream and OutStream handling. So, here’s just a short explanation of InStream and OutStream. Types of Streams In my opinion, the major problem is that the naming of […]
Today I was informed by my colleagues that the installation of “next version” Business Central containers doesn’t work anymore (as described here). So we took a look into the Partner Center to find out that the new bccontainerhelper now has its own functions for that. So this is just a little update on this: In […]
Since my colleagues ask me about this from time to time, I have created a small example for the creation of an XML with the new AL types in Business Central. It contains the creation of the document and some nodes, the appending of attributes and filling with text. This should be enough to master […]
This post is just a little reminder to me and some of you might compassionately smile. But I have recently spent hours racking my brains why I only get “empty” files when I download a “simple” PDF using HttpClient in a Business Central AL extension (although file-size and general sizing of the pdf files were […]
A lot of webservices use token-based authentication today. Among many other advantages, the authentication token has a certain lifetime, which results in the fact that the re-authentication must happen only very irregularly. This minimizes the authentication requests as the token could be reused. A standard protocol for this type of authentication flow is OAuth / […]
This is something you might also be familiar with. We at Comsol Unternehmenslösungen AG are passionately discovering the new possibilities AND responsibilities Microsoft offers us in D365 Business Central with AL, GIT and VS Code. Especially GIT is a challenge as it is a technical hurdle for some of the colleagues. Little by little we […]
I’ve just had the task to connect a new customer to one of our Node.JS webservices, in this case a payment notification service. So, payment providers like Adyen, Ingenico and Crefopay are constantly pushing some kind of payload (xml, json) against our service endpoint, and the service works like a proxy. It looks up and […]
Update: There’s probably a better solution so solve this, especially in newer versions. Just use background sessions. Recently i had an idea to create a persistent error logging in Business Central 365 without having to commit the transaction. I think every (add-on-) developer has this problem from time to time. How to handle and especially […]