In Dynamics Nav 2018 I made this codeunit 50006 called Prova:
OnRun()
MESSAGE('Hello');
When I Ctrl+R or run it will display this error message:
You do not have the following permissions on CodeUnit Prova: Execute
My user has SUPER permissions.
If it's a license thing I really don't know how to check that.
How can I run this codeunit? Or check if it's a license issue?
Answers
It ran but I got this error:
For your report error, there's protection to prevent just anyone from modifying certain tables. In the report, you need to grant explicit permissions to allow modification of Purch. Inv. Header table.
Are you coding in C/AL or AL? Because where and how you define it depends on it.