Error
-
Capturing unhandled errors in JavaScript Control Add-ins
Not that I am saying it’s a good thing, but trial and error is a fairly common approach to debugging in the NAV world. We’ve all done it. Heck, even with the…
-
Getting the exception type from the GETLASTERROROBJECT
In my last post I have introduced the GETLASTERROROBJECT function that returns you the instance of the System.Exception class, representing the actual…
-
Better error handling in NAV 2015
You may love C/AL as a language, but there is an area in it that you must just hate. It’s the error handling. Plainly put, and being actually quite positive…
-
Web Reference vs. Service Reference, Part 2
A beauty of Web services is that they don’t need to care at all about who’s consuming them. Whether there is .NET on Windows, Java on Linux or some proprietary…
-
Strange errors in RoleTailored Client RDLC reports
We old dogs really have to learn new tricks with RTC (RoleTailored Client), as I found out couple of days ago. A customer of mine asked me for a quick report.…
-
Some more issues with my blog
“Perfect is the enemy of good”, a smart person said once. Another one said: “If it works, don’t mess with it.” So, I messed with it. I was trying to make it…
-
Error With Exposing Currencies As Web Services
If you try exposing Page 5 Currencies as a Web service in Microsoft Dynamics NAV 2009, and then consuming this web service through a .NET application, you are…
-
Featuritis Cure
Don’t you just love when users come up with new feature ideas at a microprocessor clock rate. Even before you finish developing one, five new requests pop up.…
-
Not-so-elementary costing: The Change
They say the only constant is change. I’d say that the only other constant is error. We humans tend to err. Give a repeatable task to a human, and they’ll mess…
-
Silent Abort
There is only one way to abort a user action in Microsoft Dynamics NAV: by using the ERROR function. This function essentially stops the execution of all code,…