Skip to main content

Posts

General Journal Views in Microsoft Dynamics Business Central

Introduction: Recently In Business Central, I have observed the format for General Journals where the unnecessary fields are hidden inorder to avoid confusion. Pre-requisites: Microsoft Dynamics Business Central Demonstration: There are 2 Views of General Journal in Business Central. 1. Limited field view: Limited Column View 2. All field view: Full Column View 3. Switching to Limited Field View: Switching to Limited Field View 4. Switching to All Field View: Conclusion: Thus, this limited view from all field view is helpful to avoid confusion during data entering but it has drawback. If you are entering Account No. as G/L Account and want to switch the Customer as Account Type, there is no way of doing it from Limited field view.This is because in General Journal functionality, Business Central automatically selects the Account Type from previous entry causing this drawback.

How to Run Reports when report processing takes long to cause Session Time-out.

Introduction: I've observed that when NAV is used for a very long time, the report which needs heavy processing takes long enough to cause Session Time-out. So, fetching reports becomes tedious by manually querying the table. Pre-requisites: Microsoft Dynamics NAV Microsoft Dynamics Business Central Solution: The solution is simple, export the Report as an Excel or PDF depending on the data and send Email to the User as an attachment after the processing is complete. Code: 1. Create the Report in Excel Using Excel Buffer. 2. Export the Excel Buffer contents to an XLSX file. 3. Email the Exported Files to appropriate User. In this case, I have hard coded the user email to my email. Output: Exporting Progress of Excel Worksheet Exported Intermediate file to be emailed Email received after the report is completely exported. Conclusion: Thus adding a piece of code to send email to the User, can save a lot of hassle. In Business Central, howeve

How to use RSS Feeds - MS Flow - Microsoft Dynamics Business Central to get your blogs synchronized in Business Central

Introduction: Today, as I was thinking about tracking blogs posted on to my blog post. There is a system in our company to check with the blogs submitted by a person by exporting MySQL database and then importing into PowerBI to generate the reports. Recently, I got my blog published on dynamics community and it uses RSS Feeds to syndicate blogs from different websites. So, this blog is about an experiment can I use the combination of both in Business Central and MS Flow to track the blogs posted on a Website/Blogspot. Pre-requisites: Microsoft Flow Microsoft Dynamics Business Central / NAV VS Code AL Language Extension Solution: Creation of Flow: In Microsoft Flow there is a default template for RSS Feeds, change the RSS Feed URL to your own Blog RSS Feeds URL. Also, add Email to Gmail with appropriate data from RSS feeds. Adding your RSS Feed URL Flow to send Email when a blog is published You will need to publish a blog with relevant fields as you want. Em

How to Undo and then Redo Quantity Posting on a Posted Return Shipments in Microsoft Dynamics 365 Business Central

Introduction: In this blog, I will demonstrate how to Undo and then Redo Quantity Posting on a Posted Return Shipments in Microsoft Dynamics NAV / Business Central. This functionality is useful if user ship the wrong quantity or selected the wrong item for Purchase return order. Pre-requisites: Microsoft Dynamics NAV Microsoft Dynamics Business Central Demonstration: NOTE:  You cannot undo a posting if purchase credit memo is posted. 1. In the search option, enter Posted Purchase Return Shipment and then choose the related link. 2. Open the Posted Purchase Return Shipment that you want to undo. 3. Select the  Posted Purchase Return Shipment L ines that you want to undo. 4. In Lines, click on Function button and choose Undo return shipment action. 5. Choose Yes in pop up box. 6.  A corrective line inserted under the selected return shipment line. 7.  The Return Quantity Shipped  field on the related purchase order will be set blank once undo

How to Undo a Quantity Posting on a Posted Purchase Receipt in Microsoft Dynamics 365 Business Central

Introduction: In this blog, I will demonstrate how to undo a Quantity Posting on a Posted Purchase Receipt in Microsoft Dynamics NAV / Business Central. This functionality is useful if user receive the wrong quantity or selected the wrong item for Purchase order. Pre-requisites: Microsoft Dynamics NAV Microsoft Dynamics Business Central Demonstration: NOTE: You cannot undo a posting if the purchase invoice is posted. 1.     In the search option, enter Posted Purchase Receipts and then choose the related link. 2.     Open the Posted Purchase Receipts that you want to undo. 3.     Select the Posted Purchase Receipt Lines that you want to undo. 4.     In Lines, click on Function button and choose Undo receipt action. 5.     Choose Yes in pop up box. 6.     A corrective line inserted under the selected receipt line. 7.      The  Quantity Received  field on the related Purchase Order will be set blank once you undo the receipts.

How to use Forms - Flows - Business Central integration to build your masters in Business Central

Problem Statement: Few months ago on a client requirement gathering session for Business Central, I realized that the client is asking for portal where the Vendors / Customers can fill in their basic data so that the data is correct and it saves our time to prepare the master.  The easiest way of doing this was by using Microsoft Forms. In this case, I need it for Vendors, so let's see how we can use Forms, Flow and Business Central and integrate them together. Pre- Requisites: Microsoft Flow Microsoft Office Forms Microsoft Dynamics Business Central Solution: The solution I found was creating Form and using Flow integrate the data from the Form into Business Central 1. Create Form with fields which you want to set on the Vendors Creation Form fields. 2. Create Flow to take each record inserted in Form and integrate this record to Business Central Creating Flow which loops through each record and passes it to Business Central Output: After inserting the

Automatically adding dimensions from Shortcut Dimension from Excel Import in Microsoft Dynamics NAV / Business Central

Problem Statement : I have a requirement where the contents of the General Journals are to export to Excel and also can create new entries by importing the same Excel file as well. A major troublemaker is the dimensions as only Dimensions 1&2 ate stored in tables and can be validated easily but 3-8 are set at run-time through variables on the page. In this blog, I'll be attempting to resolve how to automatically apply dimensions from 3-8 using the code. Pre-requisites: VS Code AL Language Extension Functional knowledge of  Dimensions Microsoft Dynamics NAV /  Business Central Solution: 1. Understanding how dimensions work technically: Any dimensions that are inserted in an entry in the system are validated to be stored in the Dimension Set Entries table. Dimension Set Entries table of which Dimension Set ID is set on the Table. This Dimension Set Entry ID is stored on the entries to be used as a reference. For instance, if we want to Apply Dimensions