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