Skip to content
Vjeko.com
  • Control Add-ins
  • Tips & Tricks
  • About
  • Toggle website search
Menu Close
  • Control Add-ins
  • Tips & Tricks
  • About
  • Toggle website search

Daily Archives: October 17, 2014

  1. Home>
  2. 2014>
  3. October>
  4. 17

C/AL rollback without error

  • Post published:October 17, 2014
  • Post comments:4 Comments
  • Reading time:1 mins read

If you want to rollback the database changes, but do not want the code execution to end, simply call ASSERTERROR ERROR(''); The ERROR('') will quietly rollback the data changes, and…

Continue ReadingC/AL rollback without error

TRY.. CATCH in C/AL

  • Post published:October 17, 2014
  • Post comments:23 Comments
  • Reading time:6 mins read

Did I CATCH your attention yet? At least I did TRY.

Now that I have completed my series on exception handling in C/AL, a very valid question pops up: why don’t we have try..catch syntactical constructs in C/AL, the way we have it in other programming languages?

(more…)

Continue ReadingTRY.. CATCH in C/AL

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 862 other subscribers

Previously on Vjeko.com

  • 2023 (3)     
  • 2022 (2)     
  • 2021 (17)     
  • 2020 (16)     
  • 2019 (26)     
  • 2018 (14)     
  • 2017 (12)     
  • 2016 (23)     
  • 2015 (37)     
  • 2014 (40)     
  • 2013 (9)     
  • 2012 (23)     
  • 2011 (15)     
  • 2010 (55)     
  • 2009 (75)     
  • 2008 (76)     
  • 2007 (8)     

Search Vjeko.com

Recent Comments

  • Paula Remmerswaal - van Reisen on AL Object ID Ninja
  • Jake on AL Object ID Ninja logical ranges overview
  • Vjeko on AL Object ID Ninja logical ranges overview
  • Jake on AL Object ID Ninja logical ranges overview
  • Bambia Meriam on Web Services Black Belt: consuming NAV web services using pure C/AL

Most popular posts

  • Getting started with gulp and VS Code
  • Using complex types with custom APIs
  • OnAfter table event subscriber patterns and antipatterns
  • Resident control add-ins
  • Passing JSON from JavaScript to C/AL
Copyright - OceanWP Theme by OceanWP