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 :
Small and medium business | Business Central, N...
Unanswered

Creating a BC requisition is failing with "Control 'Ref. Order Type' is read-only" message

(2) ShareShare
ReportReport
Posted on by 55
I'm integrating to BC and I've published the Requisition Worksheets page as a service. I am attempting to add records via OData V4. When the context is saved, /Control 'Ref. Order Type' is read-only.  CorrelationId:  e5e86a57-12e7-444f-a845-7dbbd10043e8./ error message is returned in the payload.
 
What's the proper way to push requisitions?
 
Thank you.
 
            var newRequisition = new NAV.BCRequisitionWorksheet();
            newRequisition.Line_No = 10100;
            newRequisition.Worksheet_Template_Name = /REQ./;
            newRequisition.Journal_Batch_Name = /JOURNALNAME/;
            newRequisition.Action_Message = /New/;
            newRequisition.Accept_Action_Message = true;
            newRequisition.Type = /Item/;
            newRequisition.Ref_Order_Type = /Purchase/;
            newRequisition.No = /CK-RM02/;
            newRequisition.Location_Code = /WAREHOUSE/;
            newRequisition.Quantity = 1000;
            newRequisition.Due_Date = DateTime.Now.AddDays(100);
            context.AddToBCRequisitionWorksheet(newRequisition);
 
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,958 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,101 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans