Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Cannot modify a record. Current connection intent is Read-Only. - Custom Report Error

(0) ShareShare
ReportReport
Posted on by 2,782

Hi Guys

I have created a copy of standard report 113 in vs code (customer item/sales) and try to run it after publishing (v17.5 BC), but I get the below error:

"Cannot modify a record. Current connection intent is Read-Only."

Unlike other reports, this report contained multiple restrictions, and this is one of them, and I'd like to understand this error before changing access levels etc.

Thanks

  • Samantha73 Profile Picture
    2,782 on at
    RE: Cannot modify a record. Current connection intent is Read-Only. - Custom Report Error

    Thanks, Josh, I did read that document I'm bemused by the error as we are looking at a BC SaaS system without using a replica etc.  The question is why the standard report is coded with

    " DataAccessIntent = ReadOnly" setting and this is not working on a copy in exactly the same environment. Once above is removed report works but clearly we are missing something here

  • Suggested answer
    JAngle Profile Picture
    83 on at
    RE: Cannot modify a record. Current connection intent is Read-Only. - Custom Report Error

    My understanding is this is only applicable if you intend on using a replica DB to run the report. Is that your intention? docs.microsoft.com/.../devenv-dataaccessintent-property

    The report itself - standard - only does one modification and that’s to a valueentrybuffer table which is temporary anyway. So it is a property related error based on using replicas only

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans