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.
This week one of the customer post few transaction and found that one of the field user enter some wrong information. In ideal situation user need to reverse the transaction and post correct transaction which is safest approach.
But do you remember those old days where we have access to the table and can modify the data but with business central this ability no more available . I just build one small extension to modify the data in the table where in we can modify the posted data .
Important: It is not recommended to change data in the tables directly as it will cause inconsistency in database and make database vulnerable.
Just check following video to check small amount of work I did.
Two days back one of the customer asked me is there any way that I can post sales transactions using configuration package and I said yes it is possible to do that by using processing rules in configuration package. Today’s blog post will explain how it is possible.
In this blog post we will see how we can post sales transaction using configuration package.
Step 1:- Create configuration package for table sales header and sales line.
Step 2 :- Select required fields in each table .
I select required fields as below in each table as below
Step 3 :- Set the parent table id against Sales Line Table
Step 4 :- Set up the processing rules.
Select table 36 and click on table –> Processing rules.
Step 5:- Set up Action and processing filters.
In Processing rules select desire action as below and set up processing filters.
I set filter for document type =order and set action as Ship
Filters
Action
Step 6 :- Export the package in excel
Step 7 :- Add the required data in excel file
Step 8 :-Import the data back in package
Step 9 :- Apply the package
Step 10 :- Navigate to posted shipment to check the posted shipment.
That’s it so now we don’t need to write xmlport and code unit to import data and post.
With the release of Wave 1 2021 lot of new feature introduced . One of the new feature is that partners now can add keys in base table with customized field which was not possible earlier
Today we will see how we can do that
First Lets see what is happening is earlier version of business central. In earlier version we can only add the keys with the field added on table extension and we are not able to see the field available in base table for adding in keys
Look at the following example as I created one simple extension in V17 and trying to add key
Now when I try to add the keys in this table extension it will populate only those fields which are added in table extension
In New version of Business central i.e. Wave 1 2021 we can Add more keys with base table fields and use to improve the performance while retrieving or updating records
Now look at the following example for new version .Just created a simple table extension
Now when I try to add the keys in this table extension it will populate all the fields available in base table as below
So that means we can create keys with
Fields from base table
Fields from table extension
Can I create combination of fields from base table and fields from table extension ?
And the obvious answer is no and reasons are simple that both base table and table extension are two different tables in Sql server.
Recently Microsoft releases plan for major version of Microsoft Dynamics 365. This blog post actually focused on those features which I am looking forward to and may be every one in community.
Lets Start
Partners can add keys to base tables and table extension
Does anybody remembered this points which I raised in year 2017 on GitHub and finally this is going to add in April 2021 and I am looking forward to it as it is not supported and I have restructure the app.
Report Extensibility
This feature is everybody awaiting because if we need to change in any base app report then we need to copy that report ,make changes and use report substitution to display the customize report. Looking forward for new report extension object where in one can change layout and dataset.
Dimension Correction
In Year 2016 I wrote this blog post for updating the dimension and not it is going to be add as feature in Business central. This will help end users for updating the incorrect dimensions.
Above all it from April 2021 onwards Business Central will be available in India
Apart from above lot of new features are added in upcoming version of business central