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 365 | Integration, Dataverse...
Unanswered

Insert_recordset and recordinsertlist in D365F&O

(0) ShareShare
ReportReport
Posted on by 533
Dear team,
 
I came to know the below options
 
Insert_recordset and recordinsertlist is used for the BULK insertion.
 
I would like to know in which scenario which option is recommended to use.
 
Kindly elaborate pls.
 
Thanks in advance 
Categories:
I have the same question (0)
  • Sohaib Cheema Profile Picture
    48,586 User Group Leader on at
    Insert_recordset and recordinsertlist in D365F&O
    Hi,
    This is documented already.
    The insert_recordset statement copies data directly from one or more source tables into one destination table in one server trip.  It's faster to use insert_recordset than an RecordInsertList
     
    RecordInsertList (which is an x++ class) is useful in scenarios when you have to handle/modify the data before you insert it.
     
    Therefore if you just want to move data from one ore more tables into one destination/table quickly, use the the insert_recordset.
     
    But if you have to do some pre-processing before the data goes to the database you may choose RecordInsertList. 

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 394

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 123

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans