hi
when the exceptions are thrown that need to be fetched and inserted into the table in ax7
how to do this
help me to resolve this
eg:
divide by zero
this excetption need to be inserted into the table;
*This post is locked for comments
hi
when the exceptions are thrown that need to be fetched and inserted into the table in ax7
how to do this
help me to resolve this
eg:
divide by zero
this excetption need to be inserted into the table;
*This post is locked for comments
Hi,
You can achieve this by using exception handling.
try { //Your code logic }
catch { //Here you can catch your exception }
For getting exception in AX7. I don't think there is any direct method that can gives you the current exception message. But you can get the exception message please refer this post: https://community.dynamics.com/ax/f/33/p/56749/102485
Regards,
Tabsheer
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,409
Most Valuable Professional
nmaenpaa
101,156