XMLport triggers

As with most other C/SIDE objects, XMLports provide a set of triggers that can be customized with C/AL code. Most of these triggers are related to import and export events and provide the possibility to control the data flow in the middle of its migration from an external source to NAV tables, or vice versa.

This section will give you an overview of the most important and frequently used XMLport triggers, with some suggestions on how to use these triggers in your application.

Earlier in this chapter, we configured the primary key field of the Customer Payment table to receive new values automatically upon inserting a record. This approach slightly simplifies application code, but it has its drawback: it does not allow the ...

Get Microsoft Dynamics NAV Development Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.