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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

RecordInsertList and insert_recordset , Is there any difference?

(0) ShareShare
ReportReport
Posted on by 56

Hi,

RecordInsertList and insert_recordset , Is there any difference?

Which one mostly preferred to use?

Kindly give me more shed on this 

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    239,040 Most Valuable Professional on at

    These are two completely different things, therefore the list of differences would be infinite.

    For example, insert_recordset is an X++ keywork and RecordInsertList is a class. insert_recordset is based on a query, while RecordInsertList used a list of records. And so on. Please look into documentation for details.

    Which one you should use depends on what you're trying to achieve. For example, if records to insert aren't coming from a database query, you can't use insert_recordset and you must use RecordInsertList (or just insert()).

  • @rp@n Profile Picture
    56 on at

    Kindly give me an example of RecordInsertList . 

  • Suggested answer
    Martin Dráb Profile Picture
    239,040 Most Valuable Professional on at

    You don't need others to get this answer. Let me teach you two ways:

    1. Go to Visual Studio, find RecordInsertList class (e.g. by using ^RecordInsertList$ in AOT filter), right-click the name and choose Find References.
    2. Use a search engine, such as Google. You can use keywords like ax RecordInsertList, or something like that.

    When you learn using both Visual Studio and search engines, you'll be able to find not only code examples, but answers to many other questions as well.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans