Hi
We created a dialog to modify a quote's field while a quote is in status active. This is because there is the business need to allow users updating a custom field without creating a new version of the quote while the quote is in status active.
To solve this problem we created a dialog, the update needs input from the user. When I execute the dialog, I have system administrator and customizer roles, the dialog works and updates the quote (it seems to ignore that it is on Active status). However when an user tries to update the same record using the same dialog he gets an error saying that the record is read- only. I would like to emphasize that we are both trying to update the same record, while it has the same status and that we are both executing the same dialog. I would understand if neither of us can update the quote because it is read - only, however i don't understand why I can update it and other users can't
The user that is getting the error has a security role that has all privileges to quotes
The quote has as owner the user that is getting the error.
This is the error log
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The entity cannot be updated because it is read-only.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>6f1394a4-a8e1-42b9-b320-4a3856c979c4</ActivityId>
<ErrorCode>-2147220946</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>The entity cannot be updated because it is read-only.</Message>
<Timestamp>2019-05-15T14:03:00.8946383Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText>
[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.UpdateEntity]
[UpdateStep6]
</TraceText>
</OrganizationServiceFault>
Could someone please help me?
Thanks
Teresa