Skip to main content

Posts

Microsoft Dynamics NAV 2016 - Events What Else We Need to Know.

Hi All, Recap Of What we Discussed In The Series  "We Have seen how to use the Database Trigger, Business and Integration Events."  If you are missing the Story, Refer Table of Index . Let's See What Else we Need to Know about Events.

Microsoft Dynamics NAV 2016 - How To Use Integration Or Business Events.

Hi All, Recap -" We Have seen how to use the Trigger Events. As its a Trigger Event we don't Need to Publish or Declare It. We Just Saw how to Subscribe Trigger based Events." If you are missing the Story, Refer Table of Index . As we already know that there are Three Things Related to Events -   > Publish The Event.    > Raise The Event.   > Subscriber The Event. In This Article We will Discuss Integration / Business Events. First Let's understand Why I Said Integration Or Business Events? Are they same? > If yes Why two names? > IF No Why Saurav is trying to cover them in same article?

Microsoft Dynamics NAV 2016 - How to Use Trigger Events - Part 2

Hi All, Let's start it from where we left in Last Post. Recap - "We Created A Custom Table & Page, Linked that to Standard Item Page. Then we Created a Custom Codeunit, Created a Function in Codeunit which Subscribe the OnBeforeDelete Event of Item Table and Called Custom Code in the Subscriber Function." If you are missing the Story, Refer Table of Index . In this article we will try to bring the Value of Last Revision for Item When Item Get Selected in Sales Line Using Trigger Event Subscription. JUST TO CLARIFY - "Some people are getting confused on the new approach of customization using Events. They Feel that everything will be 100% out of standard Code. It's not True. Field Addition and Event Definition are still need to be done on Base Objects." So let's Continue. Create a Field "Latest Revision No." in Sales Line Table and in Sales Order Subform Page.

Microsoft Dynamics NAV 2016 - How to Use Trigger Events - Part 1

Hi All, Recap - "Till Now We Have Discussed the Concept of Events and Subscription With an Example". If you are missing the Story, Refer Table of Index For Events & Subscriptions . Let's start it with What Microsoft Says About Events, Publisher and Subscribers. > An event is the declaration of the occurrence or change in the application. An event is declared by a C/AL function, which is referred to as an event publisher function. An event publisher function is comprised of a signature only and does not execute any code. > A publisher is the object that contains event publisher function that declares the event. The publisher exposes an event in the application to subscribers, essentially providing them with a hook-up point in the application. Publishing an event does not actually do anything in the application apart from making the event available for subscription. > A subscriber listens for and handles a published event. A subscriber is a C/AL