Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    YUN ZHU Profile Picture
    85,674 Super User 2025 Season 1 on at
    RE: codeunit extension

    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

  • Suggested answer
    Vaishnavi J Profile Picture
    3,060 on at
    RE: codeunit extension

    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
    Inge M. Bruvik Profile Picture
    1,029 Moderator on at
    RE: codeunit extension

    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

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans