Retail item Card Field Restriction

fahd
Member Posts: 226
Dear Experts.
We are using NAV 5 SP1 with LS Retail.
There is a new field created Arabic Desc (50020) in table 27 (Item Table) . We have 2 users A and B and both doing the item creations on the form 10000807 (Retail Item Card).
User A has access to all fields and can modify, delete, create in Item card.
Whereas, user B has similar rights but he should be restricted to modify anything only on the field Arabic Desc(50020) as mentioned earlier.
Only user A has rights to modify on the field Arabic Desc (50020).
I've a very basic knowledge of codes
If i am not wrong ,i believe it can be catered by using boolean field in the User Setup Table (91).
But not sure where and what to code.
Please suggest if there is a better way to approach.
Please let me for any further clarification.
Regards,
Fahad
We are using NAV 5 SP1 with LS Retail.
There is a new field created Arabic Desc (50020) in table 27 (Item Table) . We have 2 users A and B and both doing the item creations on the form 10000807 (Retail Item Card).
User A has access to all fields and can modify, delete, create in Item card.
Whereas, user B has similar rights but he should be restricted to modify anything only on the field Arabic Desc(50020) as mentioned earlier.
Only user A has rights to modify on the field Arabic Desc (50020).
I've a very basic knowledge of codes
If i am not wrong ,i believe it can be catered by using boolean field in the User Setup Table (91).
But not sure where and what to code.
Please suggest if there is a better way to approach.
Please let me for any further clarification.
Regards,
Fahad
0
Answers
-
Yes that's correct... adding a field in user setup table is the correct approach (in my understanding)
-Create a Boolean field in user setup table
-Put you code OnValidate() method to validate whether Boolean field is tick or un-tick for logged in user and raise an error if not true.0 -
option 2, change Enabled/Editable/Visible field properties from OnOpenPage.0
-
Thanks alot will work on it.0
-
I've a very basic knowledge of codes
if you are new to Navision code, then keep it simple, a simpler approach is to create a new form/page that has the Arabic text field as [non editable] and only give the user access to this form.
For just one field like this it is not worth all the work of coding a solution.
David Singleton0
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