One of those multiple choice questions I pose to my students at the start of each day during a Solution Development training.
What would be the right answer? Of course you’re free to test it in NAV, but first give it a try “from the bare head”.
IF CODEUNIT.RUN(50000) THEN
ERROR(‘An error occurred’);
Which error will occur when codeunit 50001 is being executed?
- ‘Internal error’
- ‘Internal error’ and ‘An error occurred’
- ‘An error occurred’