I think that i missed something here.
I use REPORT ERROR sometimes, and it usually stops the ENTER NEW process, but i'm using it on a new application and its not stopping... It shows the error message, but still inserts the BO...
Is that correct?
If Category.CategoryLevel>5 OR Category.ParentCategoryLevel=5 Then
REPORT ERROR 'Maximum levels reached'
There are other actions after this one...