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.

Category: Development
Needs Votes
Ideas 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