Design Pattern: Observer

Microsoft Dynamics NAV has the built in ability to track all record changes against any table, however it does not always fire the triggers for every table. But with the Observer pattern, you can track all record changes against a defined table or set of tables.

This pattern is a good example of how classic design patterns are applicable in Dynamics NAV. Read the pattern on the Design Patterns Wiki, or the original article on Nikolai L’Estrange’s blog.

By Nikolai L’Estrange, from TVision Technology Ltd. in the UK

We're always looking for feedback and would like to hear from you. Please head to the Dynamics 365 Community to start a discussion, ask questions, and tell us what you think!