Calling Epicor Function From Customization

Similar to how this.InvokeFunction can be called in a BPM, is there a similar way to do so in a customization without the need to perform a REST call?

Yes in 700 you can use the RestClient Helper (its in the Epicor Help) I believe.

only goofy thing I’ve found is that you have to deploy the application with an FQDN for it to work, otherwise you’ll get a certificate error silently. I worked with Epicor on deploying as FQDN (which we didn’t do before), but was unable to get it to do so. Manually changing the HomePageURL node in the config to a FQDN even if you didn’t deploy as such will also work, but that’s where I’m at.
image

6 Likes

Where did you find the RestClient dll?

Epicor.Ice.Lib.RestClient

Thanks, from what I have been reading it isn’t shipped with 10.2.500 so it won’t be in the client files.

Is that correct?

Correct

:100:

1 Like

There is some good documentation related to this topic starting on page 544 of this guide I stumbled across

https://epicweb.epicor.com/doc/Docs/EpicorERPCustomization_UserGuide_102700.pdf

1 Like