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
0
Answers
-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.
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.