Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

dynamics 365 slow invoice migration

(1) ShareShare
ReportReport
Posted on by 2,409

Hi, I trying to migrate invoice data from environment to another, and calculating products price, changing status. It seems quite slow, is there anyway I can speed up?

*This post is locked for comments

  • jklemetsrud Profile Picture
    jklemetsrud 240 on at
    RE: dynamics 365 slow invoice migration

    Same issue here, 10.5 million invoice details to migrate and hitting deadlocks all over kingdom come. Tracking shows all kinds up updates to the invoice detail itself after the insert (_base) fields. As well as updates to the invoice header, sub queries to the product entity etc.

    I attempted disabling foreign key constraints and nonclustered indexes. This seemed to help a long time ago (CRM 2011) but it actually hurt the process in 365. The fastest I could get it to push by reducing the execute multiple requests down to 4 at 100 per batch, was around 5k a minute, over 10.5 million records, we are looking at over 80 hours of migration. This seems like a bunch of malarkey to me. I'm thinking about passing all the data in without product (ie, as override) and then coming back and back-filling the data properly with straight SQL using a while loop or something to make the transaction size smaller over the 10.5 million (ie, productid, and all the other fields that get filled out when it's correct). At this point i'm about ready to open a ticket with MS. Heck, I wish we could disable the internal plugins that run the calculations even, so that way I could just back fill it myself. At least I could get it to work then.

  • Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: dynamics 365 slow invoice migration

    Hi,

    how do you migrate the data?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans