disable options for specific users using boolean

catiamatos1991
Member Posts: 158
Hi everyone, I'm using nav 2016 and I need in sales lines to prevent some specific user to delete a sales line record (right button of mouse and delete line ctrl + del)
And I need also to prevent this user of change a item quantity if its unity of meause is different of "kg" (pound).
I want to use a boolean var in the enable check system, but my doubt is how to do this in the delete (in a sales line list of item the user cant delete a specific line for example)
And I need also to prevent this user of change a item quantity if its unity of meause is different of "kg" (pound).
I want to use a boolean var in the enable check system, but my doubt is how to do this in the delete (in a sales line list of item the user cant delete a specific line for example)
0
Answers
-
[Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
I'd rethink the requirments. Not worth coding imho as 1) there will be simple workarounds possible, and/or 2) your system will become less user friendly (up to the point of being a pain in the a... in some cases) , and/or 3) you will have unexpected side effects.catiamatos1991 wrote: »...and I need in sales lines to prevent some specific user to delete a sales line record (right button of mouse and delete line ctrl + del)catiamatos1991 wrote: »And I need also to prevent this user of change a item quantity if its unity of meause is different of "kg" (pound).
Coding such restrictions is not worth the time spend on it and further support. Better spend this time with users training them and explaining reasons why it is important to not to amend Quantity or delete lines in certain scenarios, and setup Change Log to catch those who don't obey the rules...Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030
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