Indirect Permission in Modify Item

amphysvena
Member Posts: 113
Hi all,
In Security -> Roles -> Permission:
- I insert all of Table data, & give "Yes" permission for RIMD, except for Table Data Item (Object ID = 27). I give the Table Data Item, "Indirect" permission for IMD, & "Yes" permission for Read
- For Table, Form, Report, Code Unit, I give permission "Yes" for RIMD for all of the object
As far as i know, this would make the user can only modify the item indirectly.
But when the user post Purchase Receipt, it said that "You don't have permission to modify records in Item Table".
What should I do, so the user can only modify Data in Item table indirectly?
I'm using NAV 4.0 SP3.
Any help would greatly appreciated.
Thx
In Security -> Roles -> Permission:
- I insert all of Table data, & give "Yes" permission for RIMD, except for Table Data Item (Object ID = 27). I give the Table Data Item, "Indirect" permission for IMD, & "Yes" permission for Read
- For Table, Form, Report, Code Unit, I give permission "Yes" for RIMD for all of the object
As far as i know, this would make the user can only modify the item indirectly.
But when the user post Purchase Receipt, it said that "You don't have permission to modify records in Item Table".
What should I do, so the user can only modify Data in Item table indirectly?
I'm using NAV 4.0 SP3.
Any help would greatly appreciated.
Thx
0
Answers
-
Turn on debugger and see where it will stop. You will find out the object in which the code is and on which you need to assign the indirect permissions.0
-
The debugger stop at CU 5804 - ItemCostManagement.
I've already give permission "Yes" on RIMD for this CU (I give it via Roles -> Permission). But still, I got the error.
But if I set the permission in the ItemCostManagement property (TableData Item=rimd), the error gone.
So if I want the item can only be modify indirectly,
I have to set the permission in every object that modify record for Item?
Thx for the reply0 -
Yes. It is how it works. If user has indirect rights, all objects modifying the table must have permissions to that table.0
-
Thanks for the reply.
Is there a fast way to get every object that Modify, Insert & Delete records in Item?0 -
You can use NDT to find where used with .MODIFY.0
-
Ok, thanks alot for the help0
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