Field events

Instead of placing your business code in the OnValidate trigger of a field, you can also subscribe to system generated events. For each field we can subscribe to the OnBeforeValidate event and the OnAfterValidate event. These events are triggered, as their name suggests, before and after the code we place in the OnValidate trigger.

Subscribing to these events can be useful to avoid making modifications to the objects shipped by Microsoft so that future updates are easier to implement and merging code is prevented.

More information about events in Dynamics NAV can be found on MSDN at https://msdn.microsoft.com/en-us/library/mt299505(v=nav.90).aspx.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.15.112.69