Hi,
RecordInsertList and insert_recordset , Is there any difference?
Which one mostly preferred to use?
Kindly give me more shed on this
You don't need others to get this answer. Let me teach you two ways:
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.
Kindly give me an example of RecordInsertList .
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 895
Sohaib Cheema 811 User Group Leader
André Arnaud de Cal... 787 Super User 2025 Season 2