EDIT: So i have debugged a little bit and even though i have declared the variables globally , as soon as i leave the codeunit by calling another codeunit and try to use the getfunction , everything is unitialised
according to this post
https://forum.mibuso.com/discussion/73254/can-you-access-another-codeunits-variables-during-runtime-via-a-get-function global variables should be stored during RUNTIME anyway so how is it possible that the instance is wiped when i call a getfunction right after leaving it ( i have done this before also )
Answers
yea I already tried the single instance property and it's working but i don't know if it would interfere with other functions of that ( enormous ) CU.
And yes the CU is run ( 51119 in the picture ) but when i call the getfunction from the table 5077 it's a new empty instance , and i can't figure out why.
thanks for the reply.