NAV 2016 Permission chalange

aceX
Member Posts: 166
Hi there,
I'd like to ask is it possible, using permission sets in Dynamics NAV 2016, to regulate view of the values in one column of the table. It's easy when we need to hide the entire column from the user using AccessByPermission property, but in my case I need the users to be able to see the column and change the values in that column but only for some rows (for some of the Employees). The picture in attachment is explaining what exactly I need.
Please for opinion. I will appreciate any idea or solution.
Best Regards

I'd like to ask is it possible, using permission sets in Dynamics NAV 2016, to regulate view of the values in one column of the table. It's easy when we need to hide the entire column from the user using AccessByPermission property, but in my case I need the users to be able to see the column and change the values in that column but only for some rows (for some of the Employees). The picture in attachment is explaining what exactly I need.
Please for opinion. I will appreciate any idea or solution.
Best Regards

0
Best Answer
-
Hi aceX,
is it what you need? See the picture.Full name is not displayed for two records.
1
Answers
-
In the OnAfterGetCurrRecord, fill up a boolean variable to define the value may be changed or not. And in the properties of the field, put that boolean in the Editable property.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi there @kriki,
That is not the right solution, I can disable the column or maybe the cell in the table, but the main problem is, the user (manager) should not be able to see the value in that cell. The yellow cells should not be visible their values, not just to be disabled for editing ...
Regards0 -
Make an item in page/form to show global variable (not table field) and in OnAfterGetRecord trigger fill this variable as you want.1
-
Hi there @lubost,
I've thought about that, but, when the user/manager should be able to change the value in the field for employees who is in charge. Maybe there should make MODIFY on the real field in the table. Yellow fields in the table from the picture should be blank or with 0 value.
I'll try to combine solution from your and @kriki suggestions.
0 -
Hi aceX,
is it what you need? See the picture.Full name is not displayed for two records.
1
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
- 322 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