How about Rollback in AL?

  • Post comments:4 Comments

I’ve never truly understood why we could explicitly commit a transaction, but we could only implicitly roll one back. There is a universe of difference between throwing an error (and ending the call stack), and rolling back (and continuing execution).

There was always a way to roll back and go on, sure. Wrap the entire thing in a if Codeunit.Run() block, throw an error as the last thing inside that codeunit, and there you go. Problem solved. Well, not quite.

(more…)

Continue Reading How about Rollback in AL?

Tip: Text constants in AL

  • Post comments:9 Comments

Long time no see, but that's how it gets every now and then, I guess... Anyway, I am still alive, still kicking, just don't get to blog as much as…

Continue Reading Tip: Text constants in AL

Images fixed on vjeko.com

  • Post comments:2 Comments

You might have noticed that I had some problems with pictures on this blog. Some posts simply didn't show any of them, and I've got quite some reports that they…

Continue Reading Images fixed on vjeko.com

Control Add-ins Supercharged: Development and production build tasks

  • Post comments:2 Comments

I’ve been absent for a while – sometimes it’s difficult to find time for blogging even when I want it. Anyway… here’s the last post in the introductory series of posts that explain my NAV TechDays 2019 demos. In this code example, I explain the difference between typical development and production build configurations, and I show how to configure gulp accordingly.

To check the code example, and to read the detailed explanations of it, jump over to https://github.com/vjekob/supercharged_01/tree/08-gulp-build-prod

(more…)

Continue Reading Control Add-ins Supercharged: Development and production build tasks