Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : Vo9JiVpEKYjjVXXiMzdD3t
Microsoft Dynamics AX (Archived)

Method to override on Data Entity when inserting records to main table

Like (0) ShareShare
ReportReport
Posted on 15 Mar 2017 13:24:15 by 1,400

Hi, I have encountered the following situation: I have to import a file with 2 million records in AX365 using the data management framework, the problem is that when I import it, the records get copied really fast to the staging table, but when they get transfered to the main table they take a really long time, I assume it is because it executes the insert row by row, so an insert_recordset would be the way to solve it. Now, the problem is that I don't know what method to override to execute the insert_recordset instead of a normal insert, and I haven't found any proper documentation on what each method does on data entities. Any help will be greatly appreciated.

Thanks.

*This post is locked for comments

  • greengrimms Profile Picture
    1,400 on 15 Mar 2017 at 13:41:36
    RE: Method to override on Data Entity when inserting records to main table

    Thanks André! I'll try that.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    292,850 Super User 2025 Season 1 on 15 Mar 2017 at 13:31:32
    RE: Method to override on Data Entity when inserting records to main table

    Hi GreenGrimms,

    You cannot change the logic related to writing records to the target table. You can use the batch framework and use entity settings to indicate more batch helpers per entity.

    You can find this setting in the Data Import/Export Framework Parameters.

    Click Entity Settings and then the button Configure entity execution parameters. There you can set a threshold and number of batch helpers which really speeds up the import part.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete