Permission to modify entry

MortenSteengaard
Member Posts: 144
Hi experts,
I use NAV 2016.
I need to change a few fields on a single Item Ledger Entry record.
I have made a new codeunit that would do the trick, if only I had the permissions to modify Item Ledger Entry.
I am SUPER.
When I try to add the Modify permission to the properties of the codeunit, it says that I do not have permissions to modify that record.
What am I doing wrong?
(I have also tried to put my code in OnOpen on the Item Card page. There I can add the permissions, but when I open the page, I get the same error.)
Hope you can help...
I use NAV 2016.
I need to change a few fields on a single Item Ledger Entry record.
I have made a new codeunit that would do the trick, if only I had the permissions to modify Item Ledger Entry.
I am SUPER.
When I try to add the Modify permission to the properties of the codeunit, it says that I do not have permissions to modify that record.
What am I doing wrong?
(I have also tried to put my code in OnOpen on the Item Card page. There I can add the permissions, but when I open the page, I get the same error.)
Hope you can help...
0
Best Answers
-
Some tables have special protection, notably entry tables. You need a special license to modify them directly. I believe it is called Solution Developer. Partners have it, Customers can't get it.
You need to have a license covering the permissions you set on the Permissions property.0 -
Vaprog is right your developer licens will need to be of a kind that allow you to modify entry table.
If you licens allow that then you will need to compile and save your codeunit with the correct premission link this:
For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0
Answers
-
Some tables have special protection, notably entry tables. You need a special license to modify them directly. I believe it is called Solution Developer. Partners have it, Customers can't get it.
You need to have a license covering the permissions you set on the Permissions property.0 -
Vaprog is right your developer licens will need to be of a kind that allow you to modify entry table.
If you licens allow that then you will need to compile and save your codeunit with the correct premission link this:
For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0 -
Hi Vaprog and SanderDk,
Thank you very much. I didn't know that some tables have a special protection.
After using the right licens, it works fine.
Thank you, once again!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