Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Is there any way to add new function in standard codeunit on BC

Posted on by 225
Hi,
 
I need  to add a new function in the standard code unit(Create Reserv. Entry) in Business Central is there any way to add the function.
 
Thanks in advance
  • Suggested answer
    Jeffrey Bulanadi Profile Picture
    Jeffrey Bulanadi 644 on at
    Is there any way to add new function in standard codeunit on BC
    Hello,

    Unfortunately, you cannot modify the standard code in Business Central. However, I have good news – there is a way for you to make modifications.

    Please refer to the link below for guidance:

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-subscribing-to-events

    If this information proves helpful, kindly mark the issue as resolved.

    Cheers,
    ​​​​​​​Jeffrey Bulanadi
  • Suggested answer
    Govinda Kumar Profile Picture
    Govinda Kumar 2,203 Super User 2024 Season 1 on at
    Is there any way to add new function in standard codeunit on BC
    You can subscribe to integration events in standard codeunit, by determining where you want to add your code and then subscribing to the specific event. Inside that integration event, you can put your own code and functions, which will be executed when that specific integration event is triggered in the standard codeunit.
    Regards
     
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,296 Super User 2024 Season 2 on at
    Is there any way to add new function in standard codeunit on BC
    Hi, What partners can do is subscribe to events in standard Codeunit, and you can check where the events are running to add your functionality. It is not possible to add completely new functionality to standard Codeunit in BC cloud.
     
    Hope this helps.
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templates⚡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans