I have a previously existing method directive tied to a checkbox form customization (JobHead.JobReleased to be specific).
My method directive calls a function, which was working fine…
until I added a parameter to the function, and made the corresponding change in the method where the function is invoked.
I’ve tried multiple times checking syntax, saving, demoting/promoting the function.
I even tried deleting the step in the method and recreated,
and also tried copying the function and pointing the method at that.
in all these cases when the form checkbox is checked and the method is invoked I get the following error:
Kevin, I don’t understand what you mean, “code from the method directive”,
my method directive has no code it is just using an “Invoke Function” step in the BPM
looks like this:
You didn’t mean the actual code in the function did you ?
(datadaddy is from 20 years ago when I was doing data migration for Peoplesoft go-lives)
I’m somewhat new to all this Epicor stuff, when you say “specify the output param”,
I’m not sure what that means, it’s not really used and comes back as null,
but from examples I was following to invoke services using rest API it appeared one output for the result is needed.
(so since it’s on my signature for my function, it shows up automatically in the BPM step to configure the function)