how to call a "function" from a visual studio project

Hello everyone,
I was trying to call a “function” from a “visual studio” project but I haven’t had success yet, have any of you managed it?

A solution I found was to create a BPM that calls the function, in order to update some field and activate the BPM, but I think it would not be correct, nor the most optimal.

Invoking it by API is not an option

Welcome to the forum. You can start here, people do that all the time, and this thread has a lot of sample code and links to other threads.

Without knowing what your project is, we won’t have any way of answering that question for you. Each tool has it’s place.

The easiest way would probably just be to call the function via API.

Thanks for the response, but what I’m trying to avoid is calling it through the rest API

1 Like

ryan reynolds hd GIF

4 Likes

That’s basically why they exist though.

The entire Epicor / Kinetic ERP is built on a RESTFul architecture you have no choice in the matter. You either call it via rest, or you use a library that calls it via rest. Or use a BPM that also… calls it via Rest

1 Like

So, umm, how are you calling the bpm?

Oh wow, I forgot about that one. That was an adventure.

Adventure Going GIF

Got the most replies that year lol.