Announcements
No record found.
When I create a procedure in codeunit that returns records then it disappears from the $metadata. If I change the return type to simple such as boolean then it re-appears in $metadata. Anyone familiar with this pls advise?
Hello - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
www.yammer.com/dynamicsnavdev
I will open this up to the community in case they have something to add.
I am not an expert at web services, but perhaps it would be easier to use a page for this kind of web service?
You can not return record in a procedure to consume it as WS or API. Why do not you convert these records into an JsonArray and return it as a text?
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 715 Super User 2026 Season 2
YUN ZHU 452 Super User 2026 Season 2
AndrewThomas81 371 Super User 2026 Season 2