Skip to main content

Notifications

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

  • greengrimms Profile Picture
    greengrimms 1,400 on at
    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
    André Arnaud de Cal... 291,965 Super User 2025 Season 1 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.

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…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans