Batch calls with Business Central (2) – Error handling

This is the second post in a batch series about batch calls with Business Central APIs. You can find the first one about the basic operations with batch calls here. In this post, I want to cover one of the most frequently asked questions about batch calls: what happens if one of the operations runs into an error? Will it stop further execution, will the already processed operations be rolled back? Let’s have a look.

Source : Kauffmann @ Dynamics 365 Business Central
Read more…

How To: Email an Exported File From Microsoft Dynamics Business Central Online – Part 4 of a 4-Part Series

Another very common scenario is to email a file instead of downloading it to the user. To run this scenario, you need to set up SMTP in your Dynamics Business Central database. This exercise assumes that the SMTP settings are ready.

Source : ArcherPoint
Read more…

How To: Handle Files in Microsoft Dynamics Business Central Online: A 4-Part Series

I recently attended the Microsoft Directions Asia Conference for the first time. Eight employees from ArcherPoint participated in or attended nearly 80 sessions presented by Microsoft and ISVs. Team members went to different sessions and shared that knowledge. The experience was awesome.

Source : ArcherPoint
Read more…

.NET Exception Handling in C/AL

When there is a need to use .NET classes within C/AL, one of the main challenges is to handle the exceptions the methods of these .NET classes may throw. Eventually, if not handled, they will basically bubble up as runtime errors, halting the current operation a user is doing without having a chance to properly display errors in a user-friendly format.

Bron : Microsoft Dynamics NAV Team Blog
Lees meer…