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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

"Readonly" control error in Postman POST Request

(0) ShareShare
ReportReport
Posted on by 5

Hi,

i need some help. i have two entities: salesOrder and salesInvoice. 

i am trying to do POST request to salesInvoice entitiy, but it is giving error that 

"Control 'orderId' is read-only. CorrelationId: dcba897a-614e-4c60-b6d0-7d245cf641c7." 
you can see in screesnshot as well. 
pastedimage1566502215910v1.png
Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    It seems that the Order ID control exposed by the standard API page is a readonly field, so you cannot pass a value from a POST request.

  • ashikivor Profile Picture
    5 on at

    If you look into this API Page: 5475, you will find the field "OrderID" and the property editable of this field is set to false.

    Hence you are getting this error. And additionally, the orderid is auto-generated by NAV.  

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans