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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on 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

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,731 Super User 2025 Season 2 on at
    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.

  • greengrimms Profile Picture
    1,400 on at
    RE: Method to override on Data Entity when inserting records to main table

    Thanks André! I'll try that.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans