
Mastering Microsoft Dynamics NAV 2016
By :

In Computer Science, a trigger is a method that commences an action when an event which is related to it occurs. In general, the events resemble key-press events, mouse events, and automatic events from a timer. But here, we are dealing with events that are directly or indirectly relevant to the database fetch or push operations like insert, delete, modify, and so on. There are the following three kinds of triggers in Microsoft Dynamics NAV:
These are actually not triggers; these are used to write documentation for a particular object. Many developers use this space to document their modifications to standard objects. Every object has a documentation trigger. The code written in this trigger is eliminated in the section of code optimization of the compiler, and no code written in this section actually runs:
Event triggers are the most commonly used triggers. These triggers take action...