Hello Everybody,
We have experienced problems with the execution of customizations, this behavior began to appear with the version 21.1 update and increased in the last days after the 21.2 update
It would seem that some functions ( Declared in events ) are not executed and the processes are incomplete and generate problems.
Yesterday we loaded the extension where the customizations are and the processes worked correctly, but today the problem reappeared.
We have 3 functions in events
procedure F1
....
procedure F2
....
procedure F3
....
We espect
F1 fisrt execution
F2 second execution
F3 Third execution.
F3 needs F2 Execution and F1 execution.
It appears F1 does not execute and error appears when f3 is executing.
We debug somwetimes in sandbox with no problem ( F1 First, f2 second and f3 third was executing)
Any similar problem?
We appreciate any help!!
Thanks in advance!!
Hi Inge,
We re-write the code into one event suscriber , now all it's fine !
Thanks for your help!!
[/quote]You are welcome. I am happy to hear that you got it to work.
Thanks everyone for your commennst ans suggestions!!
Merry Christmas!!!
Hi Inge,
We re-write the code into one event suscriber , now all it's fine !
Thanks for your help!!
Inge is absolutely right.
If your functions are not in the same App, please refer to the following test.
Execution order of subscriptions for the same event in different extensions (apps)
Hope this helps as well.
Thanks
ZHU
Hi,
NorthW is right here, you should consider always one event of each object in single codeunit. Please try to club all your modifications into one single event.
If you have 3 functions that you have to relay on being executed in a specific order then you should write that code in one event subscriber.
Because if you have more that one event subscriber you have no control over the sequence they are executed in.
So your code is not structured according to best practice.
Sohail Ahmed
2,655
Mansi Soni
1,574
YUN ZHU
1,453
Super User 2025 Season 1