X
09Apr

Dynamics 365 Business Central: How to Record Events in Business Central

When you are developing an extension for Dynamics 365 Business Central and you need to interact with the standard Microsoft’s code, one of the hardest problems is detecting which event you can subscribe to (As you already know, you cannot modify standard code in the D365BC platform, but you can only attach to events raised by the platform).

In Business Central there is feature available to see which events are executed during process you ran, and one can record this event using event recorder.

Refer the below steps for detail explanations:

Step 1: Search for Event recorder.

Step1

Step 2: Click on Event recorder which will show as below, here you have a Record Events menu with a Start and Stop button. Press Start to start the recording process:

Step2

 

A confirmation dialog appears. Press Yes to start recording events:

recordingevents

Step 3: Go to Another Browser and start executing the required process. In this example I am creating an order

step3Step 4: When you have finished the process, press the Stop button in the Event Recorder page.

Now go back first browser and click on record Events –> Stop

Step4

Once you click ‘Yes’ then it will display all the raised events are logged in the exact order they were called, and you can see the event (name and type) and the object where the event is published:

eventispublished

eventispublished2

Go to the last columns i.e. Get AL Snippets where you will get AL code for the events.

ALcodefortheevents

ALcodefortheevents1

Step 5: You can refer the event and use it in your AL extension project in Visual Studio Code.

Step5

Note: event is shown in VS code editor just for example purpose not related to above triggered event.

 

Related

LDAP Integration with Sonatype Nexus

Sonatype Nexus supports the Repository Manager integration with various active directory systems for...

Read More >

Animation with Xamarin Forms

In this Article I am going to show you how we can add animation in our Xamarin Forms Application.

Read More >

Brief Journey to Asp.Net MVC Framework

Introduction: ASP.NET MVC is a  framework for building web applications that uses the mode...

Read More >

DevOps with Visual Studio Team Services for Java

Hi All, if you are worrying how to do DevOps for Java in VSTS, here is the solution. I’m going to e...

Read More >

New Tools in NAV 2013 (the less talked about ones) - Part 1

For some time now, I have been thinking about compiling on a list of new features and subtle tools i...

Read More >

SSRS(Sql Server Reporting Services) Reports

What is SSRS reports?SSRS stands for SQL Server Reporting services a server based report generation ...

Read More >

Memory Management in iOS

Memory Management iOS In this blog we will walk through very important thing which all iOS developer...

Read More >

Azure Function : A quick start with database

This blog intended to see how Azure Functions can be used with database.Azure Function is a solution...

Read More >

Android Developer

Working knowledge on HTML5 Working knowledge on JQuery Good written and oral communication Quick le...

Read More >

Share

Comments

Thank you for sharing this useful information . keep sharing.
3/12/2020 10:39:34 AM | Reply
Through this website we can sell and buy property well. So just come here and click on the website.
1/23/2020 4:26:46 PM | Reply
Many people struggle with saving the i for a down payment. Rather they should not do so. Property should be sold correctly. href="https://www.ludharestates.ca/" >initial money.10/9/2019 3:18:41 PM | Reply
HI Sandeep,Great post. Good to see this feature in Microsoft Dynamics 365 BC.Best Regards,Manish
9/8/2019 12:10:51 AM | Reply

Post a Comment

  • Recent
  • Popular
  • Tag
Monthly Archive
Subscribe
Name

Contact Us
  • *
  • *