Microsoft Business central Event 2021 Wave 2

With the release of Business Central Wave 2 2021 aka BCV19 lot of new features has been added to make life easier of developer and/or customers.

If you are looking more insight for those features then Microsoft will host an event on 18th October 2021

You can join this session by registering it here. Join the Event

This event will have following on agenda

Hopefully this will help us to understand the feature in deep details.

Stay tuned for more.

App Installation Permission Denied in Business Central

Yesterday we were installing PTE app on production environment and it throw an error as below.

We are juggled by seeing this message and thinking why it is showing an error message when we are uploading extension by using administrator login which is global administrator.

To overcome this error there is new permission set has been introduced in business central wave 1 2021

EXTEND. MGT. – ADMIN

You need to assign the above permission to install the app as below.

Hopefully this will help

Stay tuned for more.

Business Central allows to change App Name Publisher of app.

With the release of Business Central Wave 2 2021 aka BCV19 lot of new features has been added to make life easier of developer and/or customers.

Can we change App name and/ or publisher name to meet marketing branding ? If you ask me till V18 it was not possible to change that and in V19 it is possible.

Lets see how it works.

Here is my app.json file

Publish the app

Changed the app.json

Hopefully this will help to give branding name to your app even after published.

Stay tuned for more.

Address Control in Business Central.

With the release of Business Central Wave 2 2021 aka BCV19 lot of new features has been added to make life easier of developer and/or customers.

There is new feature added in business central to control address where country/region code is used.

New option added on general ledger setup to control country/region code that means if this field is checked and if user change the country/region code then it will clear the values from related fields like city ,state and zip code.

Navigate to General Ledger Setup.

If the option is not ticked then following is behavior

If the option ins general ledger setup is ticked then it will not clear the address fields.

Hopefully it will help in controlling the address.

Stay tuned for more.

How to use Excel to update data in Business Central.

With the release of Business Central Wave 2 2021 aka BCV19 lot of new features has been added to make life easier of developer and/or customers.

Now days if you interacting with customer users sometimes customer want to update data from excel to the application directly. This situation occurs when customer have different resource to update the master data and those people actually preparing data based in excel and then key user update the data in application after reviewing. This is very much possible in business central by using configuration packages in business central.

But what if data is enter in excel and publish directly to business central.

Lets see how we can do that.

Open the vendor List and click on Edit in Excel as shown below.

Once you click on that it will download the file as below and the file showing Data Connector

If you look at the data connector then it has bunch of option to add new data ,refresh the data ,provide filters etc.

To add new data in the excel please click on ‘New’ and add the new vendor in the excel file.

Once you click on publish then it will upload the data in business central as below.

As well as it validate the required fields also . You can look at the Search Name field. How cool it is

On the data connector side there is lot of flexibility while entering data such as date field

Additionally we can filter in excel file as below.

Hope this will ease out some of data entries.

Stay tuned for more.

How to gain more control on setup while posting transaction in business central.

With the release of Business Central Wave 2 2021 aka BCV19 lot of new features has been added to make life easier of developer and/or customers.

One of the important areas in business central is posting group which connect different module with finance management and user can see required values in chart of account after posting the transaction in actual time.

Sometime it happens user or consultant forget to set up required accounts in general posting setup and it pops up the error when posting an transaction. If you are experienced consultant then you will catch that immediately and add the required setup but if you are end user or beginner then you may need to juggle around the find the correct setup.

With the new release of business central while posting an transaction if some setup are missing then you will get proper error messages stating that this particular setup is missing.

Lets see how it works in real world scenario.

Removed the Sales Account from Posting Setup as below

Try to post Sales Order.

After Posting it throws an meaningful error message .

If you look at the error message it give more insight for the missing setup

Error Description This shows proper error description as follows and inform user where is the problem

Context This provides information regarding transaction line and once you click on that it will navigate to required lines and from there you can view the document.

Source and Source Field Name This shows the source where in we need to correct the setup

Once you click on the source it will navigate to required setup page as below

Support URL This will navigate to Microsoft docs for more information

Error Call Stack .This will provide the information to developer to check from where this error pops up.

Hope this will help and keep user happy.

Stay tuned for more.

How to get insights for Error Message in business central

With the release of Business Central Wave 2 2021 aka BCV19 lot of new features has been added to make life easier of developer and/or customers.

Whenever there is an error from application and if we need to have help from partner or MS then we need to have detailed information about that error and prior to BC V19 we need to collect those information from different sources.

In BC V19 now we have detailed information regarding the error pops up on application.

To test this new feature build one action button as below

Once I click on this I got an error message as below

Now this error message can be expanded to see more details.

If you look at the above error message it provide technical information such as session id and Error description.

There is one more option is provided on that page is Copy to clipboard and once you click on that it will give more information of that error message as below.

Testing Error Info from BC V19

Internal session id: 
7db83f72-079e-4aef-b2e0-acbac56556a2

Application Insights session id: 
1d111e29-aeaf-42d3-bc7c-f4c56b306249

Client activity id: 
d5ae47d2-2582-46e1-bcd0-8aab7ffd0223

Timestamp: 
2021-10-05T02:57:39.9079548Z

AL call stack: 
DataErrorTest(PageExtension 50101)."ErrorDetail - OnAction"(Trigger) line 2 - ALProject2 by Default publisher

In copied message it provide more information line AL Call stack, Timestamp etc. Basically I like the feature of showing AL call stack which will helpful to trace the exact location from errors is pops up.

This feature is not available for error message showing by using TestField function

Hope this will help

Stay tuned for more.

How to Force Sync extension of customer specific environment in business central

With the release of Business Central Wave 2 2021 aka BCV19 lot of new features has been added to make life easier of developer and/or customers.

Till business central version V18 we are mentioning schemaUpdateMode in launch.json to specify how the data in app should behave when extension is published. In this property we were mentioning

  1. ForceSync
  2. Recreate
  3. Synchronize (This is default value ).

As well as this schema update is used for testing and development and should not be used in production environment as it can disturb your data if the obsolete field is not properly handled.

With the new version of business central new option added as below to sync the schema as below.

  1. Add :- The add option will warn you if schemas are incompatible and will not apply the changes.
  2. Force :- Force sync will overwrite the current schema with the new version without warning. Force sync can lead the data loss.

Please carefully use these options it can lead the data loss and without testing on sandbox don’t apply on production environment.

Hopefully you will find this usefule.

Stay tuned for more.

How to allow your app to debug in business central

With the release of Business Central Wave 2 2021 aka BCV19 new version of AL language is also published.

Do you remember this post where in I explain the use of showmycode property from app.json file. With this property we have only one option either we allowed to debug and download your app or vice versa.

Now with new version of AL language this property has been deprecated and new property has been introduced resourceExposurePolicy where in we get leverage to control your app from debug ,download the app file.

This property will be automatically added when new project is created as below.

If you can see in this property we have three options which can be used to control the app and your IP.

  1. AllowDebugging :- Allow to control the debugging of your app when it is published. The default setting is true.
  2. AllowDownloadingSource :- Allow to control the download of your app source code .The default setting is false.
  3. IncludeSourceInSymbolFile: Allow to control symbol to be included in the source code of package. The default setting is false.

Can I add resourceExposurePolicy and showmycode property together ?

With the introduction of this new property in app.json file we can not use showmycode property as it will show an error and warning as below.

Hopefully this will help us to control our IP and provide more security on our app.

Stay tuned for more.

Microsoft Business Central 2021 Wave 2 released

Microsoft releases business central 2021 Wave 2 (BC 19) on 1st October 2021 .

This version is available on

  1. Cloud
  2. On Docker
  3. On Premise

To check I tried to create new sandbox on cloud environment and it is readily available on my region too,.

Apart from this to get more detail and understanding on new version Microsoft already scheduled a launch event with breakout session .You can register here Business Central Launch Event

For On premise version you can download from following link

Business central On-Premise Version Download

New Version for AL language also available to update.

Stay turned for more updates and keep exploring..