Hi, I have a project and I want to add integration events, but I have two questions. What are the best practices for using integration events?
1) Can we add all integration events in a codeunit and call them in every procedure where we want to have an integration event or is better to add in every object separately.
2) How do I know if I need to add an integration event in my code? My code is well structured in procedures, so I’m planning to add an integration event at the beginning and one at the end of the procedure, but how do I know if I need integration events somewhere else, like in triggers etc.
thanks in advance