Open pri-kise opened 1 year ago
Hi, you're right. I made it first time this way to make sure that nothings broken afterwards, but I do know that it's not perfect. But for changing something in that extract procedure logic I need some time to focus on it as it's not that easy. So thanks for creating that issue to make me once more aware of it, but I have to see when I find enough time to dig into it. Most probably I can't find that time in the next weeks.
No hurry. I'm really happy with your extension right now. I only wanted to track this here. I searched for other issues, that describe this and didn't find any similiar one.
If I have an eventsubscriber with some code and extract this code to a procedure all variables are added as var paramter. Although the orginial event subscriber parameter (e.g.
SalesHeader : Record SalesHeader
is only passed by value.If possible in this specific scenario the parameter could be created without
var
in my opinion.