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.

Advertisement

How to modify table data in business central

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.

Additionally I found blog from Volodymyr Dvernytskyi for Data Editor .Please have a look into it.

Let me know your feedback.

How to Post Transactions using Configuration Package in business central

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.

Isn’t that cool ???

Stay tuned for more.

How to execute mathematical function in business central

Are you looking for for running some mathematical function in business central then may be this blog post is interesting for you.

In business central new system code unit is provided to execute some important mathematical function.

Build one simple page to show few expressions as below

One can determine following values from this codeunit.

MethodRemarks
PiReturns the value of pi.
EReturns the value of E.
Abs Returns the absolute value of a Decimal number.
AcosReturns the angle whose cosine is the specified number.
AsinReturns the angle whose sine is the specified number.
AtanReturns the angle whose tangent is the specified number.
PowReturns a specified number raised to the specified power.
SQRTReturns the square root of a specified number.
FloorReturns the largest integral value less than or equal to the specified decimal number.
ExpReturns e raised to the specified power.
CeilingReturns the smallest integral value that is greater than or equal to the specified decimal number.

Hopefully you find this helpful to you.

Stay tuned for more updates.

How to add keys in Base table of Business Central

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

  1. Fields from base table
  2. 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.

I hope you will find this information useful

So stay tuned for more updates.

Cheers.

Microsoft Dynamics 365 Business Central 2021 Virtual Event

Get Ready for yet another virtual launch of business central Wave 1 2021 and it is streamed on 13th April 2021

Image

This will a free virtual event for everyone from reselling partners, consultants, and ISV partners.

You can join from following link

https://events1.social27.com/msdyn365bclaunchevent2021w1/auth/register

Lets drive more deep in Business central with this event and don’t forget to get you system check specially for internet.

Cheers..

Upcoming New Features with Business Central

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

Administration

Improve the reliability of the database export operation for larger databases with more companies

Improvements for the Delegated Administrators

Reassign an environment from one Azure Active Directory organization to another (through Microsoft Support)

Application

Assisted setup helps move the task of adjusting item costs to the background

Automatic creation of lot and serial number information cards

Bank reconciliation improvements

Changes in synchronization between contact and customer

Define lot sizes for various stages of production

More control over settings for default dimensions

Payment reconciliation journal improvements

Simplified bank statement file import

Better with Microsoft 365

Look up Business Central contacts from within Microsoft Teams

Enablement of Word merge in Business Central

Support cloud printing using Microsoft Universal Print


Modern development tools

Extension validation on upgrade

Interface – obsolete support

Return record link instead of name when using lookups

For more information please visit here on official sites of Microsoft

Stay tuned for more updates.