Reports have a property IsReadOnly which can be used in code to get the current data access intent.
Pages do not have this property. However, we need this property in API pages to get the current data access intent of an API request.
This should also be used in the sales APIs (quote / order / invoice), because they can fail when read with data access intent ReadOnly due to the recalculation of invoice discount amount.
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