Have you tried and thought about what is the transaction scope. In this blog post I am going to discuss little bit about transaction scopes and how the transaction scope works within Microsoft Dynamics NAV.
In order to check the simple scope I am planning to use below code. Pretty simple, its just inserting a record to Customer Table (T18) and trying to run a report using RUNMODAL.