Hi, Here is a good example that I hope will give you some hints.
https://www.kauffmann.nl/2020/07/01/deep-insert-with-business-central-apis-part-2/
Thanks.
ZHU
André Arnaud de Cal...
293,025
Super User 2025 Season 1
Martin Dráb
231,837
Most Valuable Professional
nmaenpaa
101,156
Moderator