Ability to call Custom Functions from Custom Buttons
We have written several Custom Functions that work in the Automated Workflows, but some of these we also use for Custom Buttons so they can be called on demand.
Right now, even though it's the same code, we have to manually copy and past the complete code into the Custom Button. This can lead to problems if the code is updated and we forget to update all the custom buttons.
Solution: Provide a way to call the Custom Function from buttons, for example if we name the custom function "po_userevent" call it from the button by doing something similar to:
Or something similar, so we don't have to copy and past the whole code again