Having worked with Navision, NAV and now BC for many years, one of the things that crops up time and again is how easy it is for users to accidentally change data when viewing pages in the system. Customer names, item descriptions, prices, posting groups and virtually all fields are all easily edited or deleted and can cause anything from a minor nuisance to an accounting nightmare.
Since the option is available to switch to read-only mode in almost all pages in BC, please could you make available an option to force users to open in read-only by default when entering an existing record and have them click the edit button only when they want to make changes? Users should enter the card in edit mode when creating a new record. It's 2023 and about time we had some protection for our data.
Comments
The only way we can control the "pencil" to edit or view a page, is if the page is opened via an action. We then have the RunPageMode property, which we can set to View, Edit, or Create. https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-runpagemode-propertyThe CurrPage.Editable is only modifiable in the OnOpenPageTrigger. The biggest roadblock with this is that this represents when a page is editable at all, AND if the page is in Edit Mode. It seems that the ModifyAllowed property on the page would be better suited to handle that. https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/page/page-editable-methodIdeally, it would be nice to be able to control the default mode the page opens in (either Edit or View)
Category: General
Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team