Hi Experts!
I have to run a codeunit and at the same time I have to send a parameter to this same codeunit.
Because OnRun - Trigger can't take parameters, I have made RunMe(Boolean)-function to this same codeunit. So, when I want to run this codeunit and at the same time send a parameter to it, I use this RunMe(Boolean) function.
The problem is, that I need to know if the codeunit have been run correctly. If I use the OnRun-trigger like that:
[Ok] := Codeunit.RUN(Number [, Record])
the return value gives the message TRUE, if the codeunit have been run correctly. Is there an easy way to clarify this same issue, when I'm using my own, RunMe(Boolean)-function.
Yours,
IP
Comments
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
isn't it what he has done?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I used this solution and it worked! Thank you for your help.
Yours,
IP
Yes, I forgot to write the values to pass in "runme"
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog