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. 

  • Suggested answer
    becky171 Profile Picture
    5 on at
    RE: Request POST to Business Central Control Read-Only

    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.

  • Suggested answer
    DAnny3211 Profile Picture
    9,278 Moderator on at
    RE: Request POST to Business Central Control Read-Only

    hello

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

    DANiele

  • becky171 Profile Picture
    5 on at
    RE: Request POST to Business Central Control Read-Only

    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
    9,278 Moderator on at
    RE: Request POST to Business Central Control Read-Only

    hi

    look this

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

    DAniele

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans