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 blog at
http://vjeko.com. 5e33c5f6cb90c441bd1f23d5b9eeca34The post
C/AL rollback without error appeared first on
Vjeko.com.
</img>
</img>
Читать дальше