When MS first came out with "Events" in NAV 2016, they published a nice, categorized List of the Events currently defined in NAV.
However, even though there are a LOT more Events in NAV 2017 and even more in 2018 (and even a couple more in 2018 CU1), it doesn't seem like that list has ever been updated for NAV 2017 or NAV 2018 (or whatever it is called today... Tenerife?)
Alternatively, is there some way to get NAV to disgorge a List of Events?
Thanks!
Experience is what you get, when you don't get what you want. --Anon.
0
Answers
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
BUT, it doesn't tell you the list of AVAILABLE Events (like the Intrinsic ones for Pages, Codeunits, Tables, etc.). That ONLY seems to be available from the Drop-Down list when you go to define a particular Subscriber Function.
But of course, there is NO WAY to copy/paste the contents of that drop-down (other than to do a screenshot and use OCR...)
Which of course means that NAV has the way to generate that List SOMEWHERE in its bowels...
Why does MS ALWAYS have to make things SO frickin' HARD?
I haven't checked out VS Code, though. I wonder if it has a pick-list that is a little more, er "friendly"...?
After all, it would be probably quicker to extract the publisher functions from the code, and then generate build-in publishes. This would fairly quick and easy to do for tables. Pages would be more problematic as you would have to parse the metadata, either retrieved from NAV, or from pages definition dumped to some text file.
Out of curiosity - where did you find build-in publishers for codeunits? I don't have 2018 installed, but quickly checked in 2017 and couldn't find any?
I agree that MS could have easily added a bit more features to make NAV more developers-friendly. In my view it all goes in a rather opposite direction. Dunno, perhaps when I try NAV coding in VS I might change my opinion, but I've seen a few demos and webinars and unfortunately I don't share the enthusiasm of presenters.
However on that one, a list of ALL publishers, I kinda understand why it is not available anywhere. Personally can't see any value added if it were available through a virtual table. It would be useful if you could plug-in the debugger into a publisher without having a subscriber attached to it
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03