Skip to main content

Posts

How Sync-NAVApp saved the discrepancies in the field in Business Central Extension Vs. Base App

Introduction: While Business Central upgrades from Version 14 to Version 15, there are few deprecation and additions done by Microsoft to the Base Application. These deprecation are good in terms of getting better systems as it upgrades. The drawbacks of Deprecation is that your App needs to be upgraded as well as it use BaseApp as reference. Additionally, additions done are good but when you Extension App clashes with Upgraded Base App. Let us discuss. Pre-requisites: Microsoft Dynamics Business Central Understanding of Business Central PowerShell Module. Books & References: https://www.yammer.com/dynamicsnavdev/threads/503231829262336?message_id=503231829262336 https://community.dynamics.com/business/f/dynamics-365-business-central-forum/377346/error-in-app-deployment-in-business-central-v15 Demonstration: While I was creating Extension App, I had added a field in Table Extension of BaseApp Tables when Business Central was on Version 13. Everything was fi...

Top 6 Mainly used Features of Fixed Assets

Introduction: In this series of Fixed Assets aka FA, I will be teaching you through a lifecycle of the Fixed Assets. How to create and acquire these fixed assets, how to appreciate or depreciate the FA, and how to post transactions on Fixed Assets in Microsoft Dynamics Business Central. Pre-requisites: Microsoft Dynamics Business Central(ERP) Understanding of Fixed Assets Demonstration: 1. Creation of Fixed Assets: To create Fixed Assets search Fixed Assets and open the Fixed Asset List. Click on New (+), automatically FA No. is set up from No Series. Enter the FA Name, FA Class Type, FA Subclass Type, FA Location if you have multiple FA Locations. Creation of Fixed Asset Setup the FA Depreciation Book, by default we have COMPANY. Also set up the Depreciation Start Date and End Date or Start Date and No. of Years. Book value is the current value of the Fixed Assets. This value increases or decreases depending on your Appreciation or Depreciation of FA. 2. Ac...

Generate Hash Value and Integrate Form Data Third-Party System using API Object.

Problem Statement: Every document that goes out or comes into Business Central requires some kinda validation to check its originality which confirms the confidentiality of the document. Introduction: This blog is a two-step process in which I will be explaining how things work and how to write a code for this. This blog also is an update on Hannes Holst Blog( https://www.hannesholst.com/blog/technology/hash-hash-baby-secure-hash-algorithm-in-nav-365bc-and-a-little-more/ ) and you don't need to access any  .NET variable. Pre-requisites: Microsoft Dynamics Business Central VS Code AL Language Understanding of how data is transferred using API Books & References: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/httpcontent/httpcontent-data-type https://www.hannesholst.com/blog/technology/hash-hash-baby-secure-hash-algorithm-in-nav-365bc-and-a-little-more/ https://www.yammer.com/dynamicsnavdev/threads/46580...

Generic way of Attaching Documents on any Record of the Page in Microsoft Dynamics Business Central - Template Code

Problem Statement: In Microsoft Business Central, there is a way to attach attachments only on Documents or Master Table records. But, what if this requirement is for other tables such as Opportunities, custom tables, etc. Introduction: I have seen many developers afraid to touch the attachment-related customization as it seems complicated. Well, I have found a solution and here it goes. In this blog, I'm attempting to create a generic template for code that needs to have an attachment feature on any table that you like using AL Code. This means that you simply cannot copy-paste the same code for all the tables but a simple change in variable sub-type will ease your work significantly Pre-requisites: Microsoft Dynamics Business Central VS Code Al Language Extension Source Code: https://github.com/olisterr/Generic-Attachment-Template Demonstration: 1. How it works: Document Attachment is a table which stores a few things that help in tracking information rel...

Creating Games in Microsoft Dynamics NAV / Business Central using Control AddIn in AL

Introduction: In this blog, I'm attempting to demonstrate a proof of concept as How To Create Third-Party Apps, Games and Integrate it in Business Central using Control AddIns, Javascript and CSS. Also, this blog illustrates how to port any javascript apps and games to Microsoft Dynamics NAV / Business Central. In this case, I have created a simple JavaScript Game and will be showing how to make it compatible with Business Central using Control AddIn. Pre-requisites: VS Code Microsoft Dynamics NAV / Business Central  Understanding of Javascript Understanding of Control AddIn Source Code: https://github.com/olisterr/ControlAddIn Books & References: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-control-addin-object https://www.w3schools.com/js/ https://www.github.com https://codepen.io Demonstration: In this demonstration, I will be creating or copying a game from a few sample games available on Github o...