Notifications
Announcements
No record found.
how to Create code unit extensions in business central
In Business Central you can not extend an existing codeunit.
But many codeunit has integration events that you can subscribe to.
Here is some basics about developing codeunits.
docs.microsoft.com/.../devenv-codeunit-object
Hi
As mentioned by NorthW
you cannot create a codeunit extension.
But you can use event subscribers.
Can you specify your requirement?
If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much
Hi, Below are all the Object types currently available.
As for the event subscribers mentioned by several experts above. You can refer to the link below.
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-events-in-al
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-event-types
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-subscribing-to-events
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,010
Jainam M. Kothari 1,270 Super User 2025 Season 2
YUN ZHU 1,085 Super User 2025 Season 2