web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Request POST to Business Central Control Read-Only

(0) ShareShare
ReportReport
Posted on by 5

I am trying to post to business central using the API and most of the entries have no issues but we created some new accounts # and these records will not be allowed to post to business central. I get an error for these new accounts # that 'Control 'AccountName' is read-only' which is odd since other entries work fine for this column. I went on the Chart of Account to make sure the setting for Direct Posting was turned on and it was, since the other entries work I'm assuming there's a setting I'm missing for these new accounts # if you could advise. I've also tried going on the Database Access Intent and set the table to Allow Writing but that didn't work either. 

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    look this

    community.dynamics.com/.../readonly-control-error-in-postman-post-request

    DAniele

  • becky171 Profile Picture
    5 on at

    thank you i did look at this, but this doesn't explain to me why other entries were successful and did not have this error and some entries do. both kinds of entries are posting to the same table which makes me think it's some sort of permissions issue with the new accounts we created.

  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    hello

    you'd better create a custom api to do what you need

    DANiele

  • Suggested answer
    becky171 Profile Picture
    5 on at

    Figured out the issue. Since AccountName has Property Editable false that doesn't mean we can't post to the API but that the AccountName that I'm trying to post must match the AccountName in the Sandbox environment in the chart of the accounts and not a new or altered name. Once I updated the name in Chart of Accounts field Name in BusinessCentral to dataframe AccountName value then it successfully posted for those new accounts.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans