web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

codeunit extension

(0) ShareShare
ReportReport
Posted on by 5

how to Create code unit extensions in business central

I have the same question (0)
  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    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

  • Suggested answer
    Vaishnavi J Profile Picture
    3,096 on at

    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

  • Suggested answer
    YUN ZHU Profile Picture
    102,361 Super User 2026 Season 1 on at

    Hi, Below are all the Object types currently available.

    pastedimage1647392119280v1.png

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 649 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 447 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 388 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans