If Field Level or Data security codes are not working in a specific form or page

In order for forms and pages to correctly apply Field Level and Data Security codes, the source table for the form/page must be set up in Source Table Setups and the code must be implemented by running Implement Changes in code. What often happens is that after the implementation of Field Level and Data Security, an object is imported from a development or test database, overwriting the code.

One way to check to see if this overlay has happened is to open the form or page in Design mode from Object Designer. Select View, C/AL Globals. If the correct code has been implemented, you should find this variable.

If not, then the object code may have been overwritten. At any time, it is possible to re-implement the code based on your Source Table Setups. Only those forms and pages that need the code will be affected. Those with the necessary code already implemented will not be re-processed by the engine.

How To Implement Changes in Code

For more information about developing when Field Level and Data Security is installed, please see the following article.

How To develop when Field Level, Actions and Data Security code has been added

Like   Don't Like

© 2024 All rights reserved.

Related resources

Download software from