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)

EVENT Subscriber Recursive

(0) ShareShare
ReportReport
Posted on by 231

Hello everyone.

I am working on some events subscriber using AL.

Example is  a drop ship SO/PO scenario Header and Line.

When a dimension is changed on the SO, I want it to also change the PO and PO lines and vice versa.

I have created the event subscribers on "BeforeValidateEvent" of the dimension field on the Sales header, sales line, Po header and poline but they keep calling each other when the modify statement is called.

A while back I read smth about how to check if an event subscriber has already been called and this eliminates recursive calls, but I can't figure out how to do it.
I can't find that article any more .

Any ideas ?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Armela Kamenica Profile Picture
    231 on at

    Found my solution for anyone that runs into this issue

    www.kauffmann.nl/.../table-trigger-events-in-dynamics-365-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