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 365 | Integration, Dataverse...
Suggested Answer

Integration sync error : while syncing Sales Orders from Dataverse

(1) ShareShare
ReportReport
Posted on by 273
 

I am facing an issue while synchronizing Sales Orders between Dynamics 365 Business Central and Dataverse (CRM).

Error message:

"The data could not be updated because of the following error:
The field Document No. of table Sales Line contains a value (ORD-01058-D7K3W4) that cannot be found in the related table (Sales Header)."

This error occurs during the scheduled synchronization job (Codeunit 5340 / Integration Synch Job Runner).

Current setup:

  • Sales Header filter:
    Document Type = Order
    Status = Released

  • CRM Salesorder filter:
    Status = Submitted

Observation:
The Sales Line sync is running, but the Sales Header is not created in Business Central, causing the Document No. validation error.

Questions:

  1. Is there a recommended filter or sequence order for Integration Table Mapping for Sales Orders?

  2. How should the Status mapping between CRM Salesorder and BC Sales Header be configured?

Any guidance on the correct configuration for Sales Order synchronization between BC and Dataverse would be appreciated.

 
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    219 on at
    The issue is caused by Sales Lines syncing before Sales Header due to incorrect filters and status mapping
    Fix by:
    • Allowing Sales Header creation (Status = Open)
    • Ensuring correct sync sequence (Header → Line)
    • Aligning CRM and BC status mapping

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 107

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 56 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans