TryFunction in AL - Catch Errors Without Killing the Whole Run
The TryFunction attribute turns a procedure into a Boolean-returning method that swallows errors instead of stopping execution, so your code can react and continue.
·
Christian Schou Køster