Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Custom function using events

(0) ShareShare
ReportReport
Posted on by 2,390

I am transferring all custom code into separate codeunit of events. I need suggestion for custom function. Should I transfer custom code into subscriber function and define one publisher function for it.or I directly call subscriber function from standard object. Please suggest what is preferred approach. As end result will be same.

*This post is locked for comments

  • Verified answer
    I Gusti Made Ari Profile Picture
    3,594 on at
    RE: Custom function using events

    Hi, it is better to use 1st option to transform your custom code into subscriber function and create one publisher for it. It will be easier for upgrade and maintain .

    More detail : https://ksdconsultancy.blog/2018/12/24/event-driven-programming-business-central/

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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans