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 CRM (Archived)

What is best approach for below requirement ?

(0) ShareShare
ReportReport
Posted on by 217

Hi all,

I have a requirement  where i  need to fetch around 2 lakhs records from a entity in online crm and pass each individual record in child entity and do some calculations and based on calculations will return true and create records with that parent record reference in dummy entity , what could be the best approach for this requirement ?

*This post is locked for comments

I have the same question (0)
  • Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    when do you  need this to be happen? any trigger points? any action needed from user?

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi ,

    You can create a console application and use FetchXML paging cookie .

    arunpotti.wordpress.com/.../retrieve-5000-records-using-fetchxml-and-query-expression

  • Sainath Pillanagrovi Profile Picture
    217 on at

    it will be ondemand.

  • Sainath Pillanagrovi Profile Picture
    217 on at

    Hi Goutam,

    will the console handle the data to fetch 2lakh records and pass each record to child record and do calculations ? may be  it will be aborted in the middle i suspect.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    if you have subscription to MS flow, I would suggest you achieve this with MS flow. Else console application is another option to achieve this.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    You can create one flag field and update it every time after each record processed ,if by any chance any failure occur.  Use executemultiplerequest for bulk create update .

    docs.microsoft.com/.../sample-execute-multiple-requests

  • Dynamics Objects 365 Profile Picture
    550 on at

    Hi Pillanagrovi Sainath,

    Before coming straight to the solution,can you please provide the exact requirement. I mean at the functional level? I am sure there will be a better solution/design available than to fetch 2 Lakh records and do 2 Lakh calculations and eventually create 2 Lakh more records.

    Remember, smart and scalable design with quality should be the priority , always :)

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans