Hi,
I have added an event publisher to codeunit 90 that exposes the global variables:

I call the event in the same codeunit 90. Just above the call, I enter my name in a global variable "MyNameGbl".

In a subscriber function, I show the variable MyNameGbl, but unfortunately it is empty. I have already defined the MyNameGbl variable as local or global. I expected that I could access my global variable from the publisher function but I do not succeed.

Am I doing something wrong?
Many thanks,
Steven
*This post is locked for comments
I have the same question (0)