Access rights to new codeunit

Patrik
Member Posts: 13
I have just created a codeunit containing 3 simple functions. When I run them as a user I get an error message saying that I don't have the access right to run the codeunit. I added the codeunit to the group that every user is in, with exekvation rights, but I still get the error message. Can someone please tell me step by step what I need to do when I create a new codeunit?
Very thankful for any help!
Regards
Patrik
Very thankful for any help!
Regards
Patrik
0
Comments
-
Can you run it when you log as a super user?0
-
No I can not run it even as a super user. I have to use the developers license to be able to run it.0
-
Compare the developers license with the license file on the server. There is probably a difference in objectranges in the two licenses.
Try one of these downloads to display the object ranges that are configured:
Navision License Viewer v0.1.2.17
License Overview v0.1No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
So you have no permission to run this codeunit. Maybe in your experimental license you have not correct permisions for this object or this object was not purchased at all.0
-
(i4toast) So what you mean is that if I move my three functions to an already available codeunit I will probably not get an error message since the codunits obviously are within my license?
(Luc Van Dyck) Thanks I will try the tools.0 -
Yes, your experimental license hase granded you an access to some objects, so if you place a code to these objects and allow it to some users, they will be able to use this code.
Just remember, that security is needed not to allow everything on the system.0 -
(Luc Van Dyck)
2 questions:
1. The naviosion licence viewer gave me an error saying I was not allowed to run this verision of Navision with my license file. I'm running Navi. fin. 2.00
2. The License Overview v0.1. How should I use it?
Thanks / Patrik0 -
You run this report with your developers license active, and filter on your new object. In the columns you see the available rights.
Then you switch your license file (Tools -> License Information -> Change) to the one that is used on the server and run the report again. Filter on your new object, and look at the available rights.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions