Announcements
No record found.
I am trying to use insert function to insert a record from one table into another and call in into the action button of page, How to do that?
Do you have any code sample that you have tried and not working?
I can have a look and suggest.
Hi, the main method is Insert(Boolean, Boolean) Method.
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-insert-boolean-boolean-method
A very simple example:
Hope this will help.
Thanks.
ZHU
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,986 Super User 2026 Season 1
YUN ZHU 1,071 Super User 2026 Season 1
Dhiren Nagar 975 Super User 2026 Season 1