Can someone explain what is [IntegrationEvent] in c/al code. under this event function no code is been called? It comes under approval mgt codeunit.
*This post is locked for comments
Can someone explain what is [IntegrationEvent] in c/al code. under this event function no code is been called? It comes under approval mgt codeunit.
*This post is locked for comments
is an implicit COMMIT executed before IntegrationEvent is called ?
Event functions made to avoid standard objects change (and for easier upgrade to new NAV versions in future). If you need to add some code to standard table or codeunit - now you create new codeunit in user-defined range, create a subscriber event function in it and link it to integration event in standard object. This way, when integration event executing - it'll automatically jump to your codeunit and execute your code.
In each NAV release quantity of integration events grows substantially. So, not surprise when you see such empty "functions".
See the following article for a description:
msdn.microsoft.com/.../mt299406(v=nav.90).aspx
Microsoft implemented a couple of events in SourceCode without the intention to deliver a corresponding Subscriber-function. It's more a "Developer service".
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156