Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

CRM Order to GP Sales Order error

(0) ShareShare
ReportReport
Posted on by 40

Hi,

We are having a strange issue with the Order to GP Sales Order integration. The follow is what occurs in our environment.

  1. Created an Order and filled out as many fields as possible
  2. Added two products to the order
  3. Clicked Submit Order, this updates the Integration key to the same value as the Order Num, something like: ORD-01109-G1K6Z6. I did notice with an Order that came FROM GP (using the GP Sales Order to Order map) that the integration key is the GP order number (ORD0016) 
  4. Order goes into Read Only, Status = Submitted, Status Reason = In Progress. I get an error in CRM (marked as error 1 below).
  5. The Connector tries to copy the record across but has a validation error (Error 2 below). The error details doesn't actually show much info.
  6. On a whim I then clicked the Cancel Order button, checked the Connector logs and it shows as 1 successful integration to GP! Maybe the failure has something to do with the Status. 

I have no access to the GP server (I work for a CRM consulting firm and know CRM very well).

Any assistance would be greatly appreciated. I'm totally stuck and hoping for some help!

Thanks

Error 1 (CRM Plugin Error in form)

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">
<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>2016-05-22T11:49:54.5015688Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

Error 2 (from GP Web Services Console)

at Microsoft.Dynamics.GP.EConnectAdapter.ExecuteWrite(String xml, String typeName, Context context, BusinessEvent eventType, BusinessObjectEventArgs args, EventLocation eventLocation)
at Microsoft.Dynamics.GP.EConnectAdapter.Create(BusinessObject businessObject, Context context, Policy policy)
at Microsoft.Dynamics.GP.GreatPlainsBusinessService.PersistForCreate(BusinessObject businessObject, Context context, Policy policy)
at Microsoft.Dynamics.Common.BusinessService.Create(BusinessObject businessObject, Context context, Policy policy)

*This post is locked for comments

  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans