web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

BYOD - sales order lines v2 entity doesn't export to DB

(0) ShareShare
ReportReport
Posted on by 489

Hi,

I have a strange error. I have published several standard entities to Azure SQL DB and they are also populated with the export job, but for some reason sales order lines v2 entity fails. I tried to export to xml-file and that was successfully completed. Does anyone have ideas where to seek the solution?

Thanks,

Migi

pastedimage1583410551082v1.png

I have the same question (0)
  • Sergei Minozhenko Profile Picture
    23,097 on at

    Hi Migi,

    First of all, you should try to regenerate mapping (Data management - Data entities - Modify target mapping - Generate mapping), re-publish entity, re-add entity to the data project and try to export again.

  • André Arnaud de Calavon Profile Picture
    306,725 Super User 2026 Season 2 on at

    Hi Migi,

    Can you go to the execution history or staging details to find an error message?

  • migi111 Profile Picture
    489 on at

    Hi Sergei,

    I did all the steps, but still the same problem. Error msg is a bit strange:

    pastedimage1583416792425v1.png

  • migi111 Profile Picture
    489 on at

    Hi, it just says it didn't run. There's no log....nothing else

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,097 on at

    Hi Migi,

    What PU version are you using? I have the same issue before and it was related to fields in the entity disabled by configuration keys. If you marked "Skip staging" (can be added to the "Selected entities" grid via personalization), could try to unmark it and run export again?

  • Suggested answer
    Rahul Mohta Profile Picture
    21,046 on at

    seems some issue with schema difference between D365FO and BYOD

    compare them using D365FO, republish and try export again

  • Suggested answer
    Fangyuan Hou Profile Picture
    on at

    Hi Migi,

    Agreed with Rahul & Sergei, normally when the error happens like: "An Error occurred in add data flow component for Entity Store", most of the case is because some issue with schema difference between D365FO and BYOD.

    Un-publish & publish the entity from BYOD. Create new data project and add the entity to be exported. Once the entity is added to the project, have a check the mapping, remove the disabled fields from the mapping, remove the virtual field and use computed field instead of virtual field.

    You can also have a try disable "skip staging".

  • Suggested answer
    Rahul Mohta Profile Picture
    21,046 on at

    let us know if dropping and republishing worked?

  • migi111 Profile Picture
    489 on at

    Dropping and republishing didn't work. I have created a support ticked to Microsoft.

  • migi111 Profile Picture
    489 on at

    Excellent...Thanks Sergei! I did the skip staging trick and found out the reason was crappy data. Almost half of the sales order lines had errors in validation so I changed the filter to run only the latest lines and....now it works :)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 276 Most Valuable Professional

#3
Anton Venter Profile Picture

Anton Venter 225 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans