# Connecting to Epicor via C#/Visual Studio

**URL:** <https://www.epiusers.help/t/connecting-to-epicor-via-c-visual-studio/38243>\
**Category:** Epicor ERP 9\
**Created:** [May 2, 2017, 12:58pm UTC](https://www.epiusers.help/t/connecting-to-epicor-via-c-visual-studio/38243 "2017-05-02T12:58:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rampant](https://www.epiusers.help/letter_avatar_proxy/v4/letter/r/d78d45/32.png) [@Rampant](https://www.epiusers.help/u/Rampant)\
**Post date:** [May 2, 2017, 12:58pm UTC](https://www.epiusers.help/t/connecting-to-epicor-via-c-visual-studio/38243/1 "2017-05-02T12:58:23Z")

</div>

Good Morning,

We’re attempting to build some external tools to interface with the BO’s and do simple things like query for invoice data and return them for use in a web portal.

We’ve contacted Epicor for some documentation but they can only provide webservices documentation and we’d rather connect using the objects/DLLs.

Are there any guides out there that show how to do simple things like open a connection and call the ARInvoice.GetList function? just to get us started?

Thanks,

Kyle

---

<div class="post-metadata">

**Author:** ![josecgomez](https://www.epiusers.help/user_avatar/www.epiusers.help/josecgomez/32/55731_2.png) [@josecgomez](https://www.epiusers.help/u/josecgomez)\
**Post date:** [May 2, 2017, 1:11pm UTC](https://www.epiusers.help/t/connecting-to-epicor-via-c-visual-studio/38243/2 "2017-05-02T13:11:14Z")

</div>

Kyle search this forum there are a ton of examples of this specially in the old Yahoo category if you are in E9

by the way you should use the webservices since they ensure better compatibility going forward and it won’t require you to recompile your apps every time there is a slight version change.

---

<div class="post-metadata">

**Author:** ![Rampant](https://www.epiusers.help/letter_avatar_proxy/v4/letter/r/d78d45/32.png) [@Rampant](https://www.epiusers.help/u/Rampant)\
**Post date:** [May 2, 2017, 1:17pm UTC](https://www.epiusers.help/t/connecting-to-epicor-via-c-visual-studio/38243/3 "2017-05-02T13:17:44Z")

</div>

Thanks Jose,

I’ve searched a bit and might not have been using the right terms since I was coming up a bit empty.

Interesting you mention using the webservices as I thought they were a bet less performant. Also since we’re stuck on E9 for the time being I don’t anticipate many version changes! But thanks for the heads up, I’ll take a look a setting up the webservices since there seems to be better documentation on that.

---

<div class="post-metadata">

**Author:** ![josecgomez](https://www.epiusers.help/user_avatar/www.epiusers.help/josecgomez/32/55731_2.png) [@josecgomez](https://www.epiusers.help/u/josecgomez)\
**Post date:** [May 2, 2017, 1:24pm UTC](https://www.epiusers.help/t/connecting-to-epicor-via-c-visual-studio/38243/4 "2017-05-02T13:24:16Z")

</div>

A quick search for “Visual Studio” in the Yahoo Category yielded quite a few results regarding this topi including some with Example code. I recommend another look.

Furthermore here is a youtube video I made years ago that showcases how to do this

Web Services use the same back end code as the DLL’s so performance should be similar.

---

<div class="post-metadata">

**Author:** ![Rampant](https://www.epiusers.help/letter_avatar_proxy/v4/letter/r/d78d45/32.png) [@Rampant](https://www.epiusers.help/u/Rampant)\
**Post date:** [May 2, 2017, 1:42pm UTC](https://www.epiusers.help/t/connecting-to-epicor-via-c-visual-studio/38243/5 "2017-05-02T13:42:35Z")

</div>

Thanks Jose. As always, forever in your debt.
