Hi
I have to implement a report extension for Report 393 ("Suggest Vendor Payments"). In this report there is an Integration Event defined (OnGetVendLedgEntriesOnBeforeLoop).
How can I hook in there and add my code in the new Report extension?
Hi
I have to implement a report extension for Report 393 ("Suggest Vendor Payments"). In this report there is an Integration Event defined (OnGetVendLedgEntriesOnBeforeLoop).
How can I hook in there and add my code in the new Report extension?
It is also important to remember that when you add code to that event. Your code will execute also for other extensions to the same report.
So it will not only be valid for your report modificatons.
Hi, tonyab is right, subscribing to events must be in Codeunit.
For example,
More details:
Hope this helps as well.
Thanks.
ZHU
You would actually create an EventSubscriber within a Codeunit to add your code.
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156