Oh hai, it’s been a while. I’ve not been doing much coding in the last couple of years but now I’m right back into it, so here’s a short post to learn from my mistakes… Say you have a function (OnGlobalModify for example) that gives you a RecRef, but no xRefRef and you want to… Read More RecordRef is a pointer!
This is a “why is this so hard” post and I’m sure I’m probably re-inventing the wheel and should try and find my year 1 computer science textbooks to look up Sort algorithms (from 20 years ago – I don’t think I still have them). Anyway, sometimes in NAV you want to have a “Sort”… Read More Changing the Sort of Multiple Lines in NAV
As per my note on my previous blog on this topic, I will outline how to achieve something similar in NAV2016, but split into two bits. This is the second bit, which doesn’t have any corresponding objects in standard NAV as far as I can see. I struggled with what to call this pattern (naming… Read More PubSub Pattern in Dynamics NAV 2016
As per my note on my previous blog on this topic, I will outline how to achieve something similar in NAV2016, but split into two bits. This is the first bit which is more generic, and follows the pattern from the standard system. Before NAV2016, Codeunit 1 was the ideal place to put code to… Read More Observer Pattern in Dynamics NAV 2016
I’m here in Mannheim, Germany with ~1360 others. Released yesterday was the new version Microsoft Dynamics NAV 2016. Today the Managed Service for NAV (i.e. NAV as Saas) and the Power BI content pack for NAV were released. So, as you’d expect there were a lot of announcements about the great new features available. From… Read More Directions EMEA 2015 and NAV2016
EDIT: NAV2016 has come out with new “Event” functionality, and looking into how that affects my Observer code I realised that what I had built was sort-of a combination of two different patterns, Observer and something a bit more like PubSub – the difference being the latter is “Cross-session”. See my follow-up blogs here: Observer… Read More Observer Pattern in Dynamics NAV