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

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Verified answer
    I Gusti Made Ari Profile Picture
    3,600 on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans