C/AL Editor

How C/AL Editor Look Like?

The C/AL Editor looks like following picture. Each C/AL editors are different divisions. These details are explained as follows.

Each gray bar is called as Triggers and C/AL code that you may see listed below the gray bar is the "Trigger Code" for that trigger. Not that some triggers not having any codes thse are called as empty triggers.

In the C/AL Editor mainly 3 types of Triggers available

  1. Documentation Trigger
  2. Event Trigger
  3. Function Trigger
  • Documentation Trigger

Documentation triggers is not really a trigger, it will not run any codes. Normally this place is used for the documantation purpose only. ie, to specify the modifications to the standard objects.

  • Event Trigger

Event Trigger is trigger used to handle the triggers in the system. All the Event triggers are start with "On". OnRun event trigger is executed whenever that is to be Run.

  • Function Trigger

These triggers are executed whenever you call a function in an object. 

Related Posts with Thumbnails