Hello, I can’t figure out, how to start a function (within a Codeunit) from the Menusuite. I have different entry points within one Codeunit, to basically do the same thing, but with little differences. To buy several Codeunits just for the different entry points seems a little expensive. Any ideas? Daniel Zimmermann
Sorry, but this is not possible. As workaround you can place a strmenu in the OnRun()-Trigger of your Codeunit and let the user decide, which variant he wants to start.
If I am understanding you correctly, you could write code for each menu choice such as: menu choice 2 OnPush mycodeunit.function2(someparameter) [:D]