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...
Unanswered

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

(2) ShareShare
ReportReport
Posted on by 12
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

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,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans