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 :
Microsoft Dynamics CRM (Archived)

Business Process Error, Quote, Read Only, Dynamics 365

(1) ShareShare
ReportReport
Posted on by

Hi Everyone-

I have customized the Quote entity by adding a few fields, business process rules, and workflows. Below is a screen shot of our Quote entity. The first business process added populates the address from the contact entity for the Billing Contact to fill in Bill to Address field. The second business process does the same for Shipping Contact. The workflow is for the "Billing same as Ship" field. When marked "Yes" it copies the Billing info into the shipping fields. This all occurs after we save the form. When we go to activate the Quote we get the error, "Business Process Error The Entity cannon be updated because it is read-only." When we deactivate our business processes and workflow, the quote entity works fine. We are able to activate the quote, make revisions ect. However, it doesn't have the populated information we want on the quote. How do we enable these business processes and have the ability to activate and revise the quote?  Thank you in advance!

Quote-Entity.jpg

8780.Error.jpg

Error Detail

<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xmlns:xml="www.w3.org/.../namespace" xml:lang="en-US">The entity cannot be updated because it is read-only.</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ActivityId>79d2da69-ad26-444c-a5b0-de3cac0b5877</ActivityId><ErrorCode>-2147220891</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>OperationStatus</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">0</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>SubErrorCode</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">-2146233088</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>The entity cannot be updated because it is read-only.</Message><Timestamp>2017-09-23T01:27:14.4695591Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true" /><InnerFault><ActivityId>79d2da69-ad26-444c-a5b0-de3cac0b5877</ActivityId><ErrorCode>-2147220891</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>OperationStatus</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">0</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>SubErrorCode</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">-2146233088</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>The entity cannot be updated because it is read-only.</Message><Timestamp>2017-09-23T01:27:14.4695591Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true" /><InnerFault><ActivityId>79d2da69-ad26-444c-a5b0-de3cac0b5877</ActivityId><ErrorCode>-2147220891</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>OperationStatus</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">0</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>SubErrorCode</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">-2146233088</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>The entity cannot be updated because it is read-only.</Message><Timestamp>2017-09-23T01:27:14.4695591Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true" /><InnerFault i:nil="true" /><OriginalException i:nil="true" /><TraceText i:nil="true" /></InnerFault><OriginalException i:nil="true" /><TraceText i:nil="true" /></InnerFault><OriginalException i:nil="true" /><TraceText>
[Microsoft.Crm.ObjectModel: Microsoft.Crm.ObjectModel.SyncWorkflowExecutionPlugin]
[9d799aa0-129f-e711-8126-c4346bacba84: ]
Starting sync workflow 'Quote, Billing Contact Pop Address', Id: 7b799aa0-129f-e711-8126-c4346bacba84
Entering UpdateStep1_step:
Sync workflow 'Quote, Billing Contact Pop Address' terminated with error 'The entity cannot be updated because it is read-only.'
</TraceText></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Priyesh Profile Picture
    7,396 User Group Leader on at

    Can you see the Revise button on the Quote? I assume your Quote is Active and hence can't be updated.

    Please mark my answer as verified if this helped you.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    This errors occurs if you try to update the Quote which is not in draft state. You must have triggered the workflow on either create or update or both.

    When you activate a quote, it changes the quote state from draft to active and triggers an internal save. During this time, I think you workflow are again executing and cause the workflow state is now changed to active, you are getting this error.

    To avoid this from happening, you can put a check condition in your workflow to not process any further steps if the quote status is not in draft.

    Something like this-

    6866.workflow.png

    Hope this helps.

    If this answer your question, please close the thread by marking the suggestion as verified.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans