Hello,
one of our customers has had the article card changed in version R2 in the Nav so that it can be edited or not depending on a code in the user equipment. This is ultimately possible with a simple CurrForm.EDITABLE ( identifier from the user setup ).
Unfortunately, this does not work in the NAV 2018; You can open the page in non-editable mode, but unfortunately this can be overridden with the edit button.
I have now managed to dynamically control the editable property for the individual groups. Unfortunately, articles can still be created or even deleted if the user is reading only.
This was covered in the old version with the CurrForm.EDITABLE and must definitely work in the new version.
Is there a possibility?
0
Answers
Pagevar.EDITABLE := FALSE (depending on the users setup)
Pagevar.RUN;
due to the specialities of the customer I made the groups editable by parameter and prevent specific users from inserting/deleting an Item by an error-message, which is gerenated in the OnInsertRecord- / OnDeleteRecord-Trigger of Page 30.
Thanks.