How to add progress bar window in D365 BC (Dynamics NAV)

When running the report everyone will be curious to know how long the report might run.
To track on at which level the report is processing the records we can run a progress bar in the foreground to have a better clarity of it.

Progress window can be displayed using the Open function of Dialog datatype.

Syntax:
Dialog.OPEN(String [, Variable1],...)

Few string parameters that can be considered in displaying progress bar:

1. Use a backslash (\) to start a new line.
2. Use number signs (#) to insert variable values into the string.
3. Place the number signs where you want to substitute the variable value.
4. Place a number in the part of the string where a variable value will be substituted

(Example, #1####) or (@1@@@@) to be able to reference this field for updating.

5. If you use @ characters instead of # characters, then the variable value is used as a percentage and both the percentage and a progress indicator are displayed. The percentage value that is displayed is the percentage of the variable value from 0 to 9999.



In OnPreDataItem initialze the following values.

--OnPreDataItem--

Window.OPEN('Processing data... #1################### @2@@@@@@@@@@@@@\');
NoOfRecs := COUNT;
NoOfRecsProgress := NoOfRecs DIV 100;
Counter := 0;
NoOfProgressed := 0;
TimeProgress := TIME;


In OnAfterGetRecord you can write the code(all variables of type integer except TimeProgress).


--OnAfterGetRecord--

//Do some processing
.
.

Counter := Counter + 1;

IF (Counter >= NoOfRecsProgress) OR (TIME - TimeProgress > 1000) THEN BEGIN
  NoOfProgressed := NoOfProgressed + Counter;
  Window.UPDATE(1,Custname); //this code will update the customer name at the control1
  Window.UPDATE(2,ROUND(NoOfProgressed / NoOfRecs * 10000,1)); //this will update the progress bar
  Counter := 0;
  TimeProgress := TIME;
END;


--OnPostDataItem--

Window.Close;

Dynamics 365 Business Central learning videos now available in "Microsoft Learn"

Most of them already knows that Microsoft is continuously working in order to release all the learning features related to D365 BC. It was a wide talk since last few months but result was still pending.

Yes, finally Microsoft has initiated something related to self learning portal in Microsoft Learn website, not much technical videos for now but most of the E-Learning features belongs to Finance Domain of D365 BC.

28 new videos have been released so far in which 26 videos belongs to Finance Domain, we can surely expect more no. of videos in the coming days covering all the domains including technical learning related to D365 BC.

Click the following link to access all the videos related to self learning portal of D365 BC LearningPortalD365BC





Process to convert C/AL to AL Programming

Basic Steps to be followed to convert C/AL programming to AL Programming:
  • Starting Point: Deltas of your app, in previous NAV Version
  • Apply those Deltas to NAV 2018
  • Export objects in New Syntax
  • Create ‘New Syntax’ Deltas
  • Convert Deltas to AL files.
  • Create your own Developer Preview VM
  • http://aka.ms/navdeveloperpreview



Editing Hacks and Keyboard shortcuts in Business Central VS Code Editor

The following table provides an overview of some of the shortcut key combinations that you can use when you are working in Visual Studio Code.
# Editing Hacks
- CTRL+k v: Open Markdown Preview (on the side)

## Navigation
- F12: Go To Definition
- ALT+Left/Right: Back/Forward
- ALT+F12: Peek Definition
- Shift+F12: find references
- CTRL+R: Open Workspace

## Editing
- ALT+Shift+Up: Copy Line(also on multiple lines)
- ALT+Up/Down: Move line up/Down
- ALT+SHIFT+left/right: Shrink/Expand selection
- CTRL+SHIFT+o: Go To Symbol in FILE
             - Group by kind by adding ':'
- same as CTRL+P and add @
- CTRL+t: Go to Symbol in Workspace
             - same as CTRL+P and add #
- CTRL+SHIFT+v: Open Markdown Preview
- CTRL+j: toggle panel
- CTRL+i: select line
- CTRL+k z: Zen mode
- ALT+SHIFT+F: Format Code
-SHIFT+Delete: Deletes a line

## Multi Cursor/selection
- ALT+Click: Adds Cursor
- SHIFT+ALT+Click: Block selection
- F2: rename Symbol
- CTRL+F2: select all instances
- CTRL+D: select next instance 


Editing, compiling and debugging shortcut keys


Click on above images to view in clear format






Table Description(Table properties, field properties, key properties)


A table consists out of table data and a table description. In the table description, you define what type of table this will be, which data it will contain and how it will behave.


Therefore, you need to look at the table properties and the table triggers, which are both available at the table level. In the table properties you can configure the behavior for this table, while in the table triggers, you need to write code that will be executed at certain moments.

A table description also includes fields that define which kind of data this table can hold. A field also has properties and triggers. And then finally the table description also includes information about the keys for your table. A key is necessary to create unique records, but also to define how you can sort your data.



Click on the image to see the Table properties in detail

Click on the image to see the Field properties in detail


Click on the image to see the Key properties in detail





Build powerful extensions and then add them to App Source in Dynamics 365 Business Central

Within Dynamics 365 Business Central, you can find apps on App Source that bring you more capabilities. If you're a developer, you can build powerful extensions and then add them to App Source for easy discoverability.

Extensions technology, allows partners to extend, customize, and build solutions in an upgradable fashion, decoupled from the base application.
You can find Apps in following ways:

You can find Apps in a few ways. In the search box type "extensions", and then click Extensions Management.


You will then find the "pinned" extensions:


You can also navigate to "all apps" through the App Launcher.


The App Launcher also gives you access to App Source by clicking on "Get more apps".


Finally, you can also browse to App Source with this URL: https://appsource.microsoft.com/en-us/.


Essential and Premium in Dynamics 365 Business Central

Essential Licensing


Essential licensing covers business areas that most businesses require running their business. It includes the following modules:

  • Financial Management
  • Customer Relational Management
  • Supply Chain Management
  • Human Resources
  • Project Management
  • Other functionality:
  • Multiple languages
  • Reason codes
  • Extended text
  • Intrastat reporting
  • Outlook integration

Premium Licensing
Premium licensing adds Service order management and Manufacturing, bringing the full breadth of a business solution to the cloud.

2026 Release Wave 1(28.0) Major Update in Business Central That Actually Help Clients

This release is not about “new screens.”  It’s about running the business with fewer surprises and more confidence. 1. Smarter Work with C...