I started the Prospect to Cash integration recently and tested everything from CRM to FnO. I create Sales quotation from opportunity and everything works well. I can reach till invoice and everything is synced between both systems.
Now when we create a Sales Order directly without a Sales Quotation. It send the Sales Order number in FnO with ordernumber as 'FFME-SO-06673' but to update the SO CRM is looking for FFMEFFME-SO-06673' and it doesn't exist. So Sales order creation fails. with error - Unable to write data to entity salesorders.Writes to SalesOrderHeaderD365SalesEntity failed with error message Request failed with status code BadRequest and CDS error code : 0x80040265 response message: Cannot find record to be updated.For information on troubleshooting see  Activity ID for troubleshooting {7BE07E24-2BEB-46B3-BF46-2B3C623D639B}For information on troubleshooting see 
 
It is the same for Sales Quotations. The Plugin Tracelogs from CRM - Microsoft.Dynamics.SCMExtended.Plugins.OrderNumberAssignment, Microsoft.Dynamics.SCMExtended.Plugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 
In the Plugin tracelog in CRM shows this in exception message - Entered Microsoft.Dynamics.SCMExtended.Plugins.OrderNumberAssignment.Execute(), Correlation Id: 3163727c-9dbb-405c-baf1-685c224c5e27, Initiating User: 38ac2aaf-9cd8-ed11-a7c7-0022487fef11
OrderService: AssignOrderNumberOnPreCreate.
OrderService: AssignOrderNumber
Before update, OrderNumber = ORD-01914-X6H0F3
New OrderNumber = FFMEFFME-SO-006773
Feature: Dynamics.AX.Application.SalesD365SalesPriceMasterFeature; Enabled: True
QOICommonService: MaintainPriceFieldsForPriceMasterFeature, salesorder - Start.
Validate calling user $38ac2aaf-9cd8-ed11-a7c7-0022487fef11.
QOICommonService: MaintainPriceFieldsForPriceMasterFeature, salesorder - End.
ShipTo_Country = BT
msdyn_deliveryaddressdescription = Marvel Production India
pricelevelid = 2d4227be-d5f8-ef11-bae2-000d3a289707
Feature: Dynamics.AX.Application.SalesQuotationD365SalesFeature; Enabled: True
OrderService: link quotation.
StateCode = Active; StatusCode = Microsoft.Xrm.Sdk.OptionSetValue
Exiting Microsoft.Dynamics.SCMExtended.Plugins.OrderNumberAssignment.Execute()
 
Can I get some Help?