Following the thread on Github, we are trying to allow certain users to change data based on a status and others not to (or all users not to change data after a certain status is achieved). So it is necessary to be able to change "Editable" of a page on runtime.
See https://github.com/Microsoft/AL/issues/1664 for more details.
Just bumping this. At times knowing the state of a page is useful to control data flow when reacting to the state of a record, in a way permissions simply cannot
I had a need for this in my last company and a need for it in my latest. As a work-around, I can manage to accomplish this by opening a copy of the page, with the Editable flag preset. The problem with this is that the original page must open, where logic can be applied, then closes. A bit of an annoyance but does work.
This was desperately needed since 2013.
Business Central Team (administrator)Thank you for your feedback. We are considering adding it to our longer term roadmap.