How to extend enum in Business Central

With the release of Business Central 2020 Wave 1 lot of new features has been added to make product more prominent.

Though this concept of ENUM was introduced earlier but from new version onwards most of the option fields are available as extensible enum such as follows

If define enum is extensible then we can add more option values in that field.

How to add the new option value in existing enum field.

First create extension for enum as below

To check the value just added one action button as below

To check the output publish the app and check

Select the document type and check the result as follows

Hope this help you…

Stay tuned for more..

Advertisement

Cumulative Update Summary April 2020-Business Central

Cumulative Update includes all application and platform hotfixes and regulatory features that have been released for Microsoft Dynamics Business Central

Business Central 2019 Spring Update CU 11 :- BC 14

Business Central 2019 Fall Release Wave 2 :- BC2019Wave2

Warning

Before you install a cumulative update in a production environment, take the following precautions:

  1. Test the cumulative update in a non-production environment.
  2. Make a backup of the system or computer where the cumulative update is to be installed.

Stay tuned for more updates…

How to get Table Information in Business Central 2020 Wave 1

With the release of Business Central 2020 Wave 1 lot of new features has been added to make product more prominent.

One of the future added is to get all table information such as no of records, size in KB etc.

If you remember correctly in old version we have same screen which shows all the relevant information regarding tables as below

How to get same screen in business central

Hope this will help you to have information

Stay tuned for more.

Cumulative Update Summary April 2020

Cumulative Update includes all application and platform hotfixes and regulatory features that have been released for Microsoft Dynamics NAV.

Microsoft Dynamics NAV 2018 CU 28 :- NAV2018CU28

Microsoft Dynamics NAV 2017 CU 41 :- NAV2017CU41

Microsoft Dynamics NAV 2016 CU 54 :- NAV2016CU54

Warning

Before you install a cumulative update in a production environment, take the following precautions:

  1. Test the cumulative update in a non-production environment.
  2. Make a backup of the system or computer where the cumulative update is to be installed.

Stay tuned for more updates…

Business Central:- How to find Events in AL

With the release of Business Central 2020 Wave 1 and AL extension lot of new features has been added to make AL development more productive.

A core part of extension-based development is the use of events and event subscribers. Use the new Shift+Alt+E shortcut in the AL code editor to invoke a list of all events.

Hope this will help you

Stay tuned for more.

Business Central 2020 Wave 1: New CodeCops

With the release of Business Central 2020 Wave 1 and AL extension new codecops added for more information and making your app more prominent

AA0215 – Checking file naming

This checks file name as per new guidelines and shows warning as below

Following are the new guidelines for this warning

Object NameFile Name
Codeunit 50000 “Post Bank Details”PostBankDetails.Codeunit.al
Page 50000 “Customer Card Ext”CustomerCard.PageExt.al

To Get this done automatically use Waldo’ CRS extension

AA0218,AA0219,AA0218 – Missing and Wrong ToolTips

This will show warning for missing Tooltips as below

AA0470- Comments in Labels

Placeholders should have a comment explaining their content.Provide an explanation that describes the content of each of the placeholders.

To fix this Adding the comment

There are more code analyzer added and you can find this from following link

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/analyzers/codecop

Stay tuned for more ….

Business Central Wave 1 2020 Released

MS released the major version of business central Wave 1 2020 on 1st April 2020

You can download the on-premise from following URL

Few Links to follow

Download BC 2020 Wave 1

What’s New and Planned for business Central

Features Not Implemented On-Premise

AL Language extension update

Stay Tuned for more updates.