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

RecordInsertList and insert_recordset , Is there any difference?

(0) ShareShare
ReportReport
Posted on by 28

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
    236,047 Most Valuable Professional on at
    RE: RecordInsertList and insert_recordset , Is there any difference?

    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.

  • @rp@n Profile Picture
    28 on at
    RE: RecordInsertList and insert_recordset , Is there any difference?

    Kindly give me an example of RecordInsertList . 

  • Suggested answer
    Martin Dráb Profile Picture
    236,047 Most Valuable Professional on at
    RE: RecordInsertList and insert_recordset , Is there any difference?

    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()).

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 895

#2
Sohaib Cheema Profile Picture

Sohaib Cheema 811 User Group Leader

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 787 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans