C/AL rollback without error

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 the ASSERTERROR will capture the error, allowing the code execution to continue. Read this post at its original location at http://vjeko.com/blog/cal-rollback-without-error, or visit the original […]

The post C/AL rollback without error appeared first on Vjeko.com.

Related
Recommended