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

Notifications

Announcements

No record found.

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 485

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,093 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
    301,020 Super User 2025 Season 2 on at

    Hi Migi,

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

  • migi111 Profile Picture
    485 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
    485 on at

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

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,093 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,032 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,032 on at

    let us know if dropping and republishing worked?

  • migi111 Profile Picture
    485 on at

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

  • migi111 Profile Picture
    485 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans