Setup guidance for developing and running an Epicor C# Web App?

There really is nothing special that needs to done to enable a WebApp using the BO’s.  The connectivity to the DB is handled just like any other Epicor ERP client using the same calls to login it and obtain the connection object.  In Visual Studio, I add references to the Epicor BO’s by pointing to the dlls and other files from the server based client folder (VS copies the DLLs into the targeted server folders when the app is deployed, so you could point to any copy of the appropriate DLLs).  Visual Studio will actually setup the WebApp for you when you target deployment to an IIS server assuming you have the proper security rights.

 

Mercer

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Friday, October 23, 2015 3:51 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Setup guidance for developing and running an Epicor C# Web App?

 




What are you trying to build ?


On 23 Oct 2015, at 19:40, marvinhorst@... [vantage] <vantage@yahoogroups.com> wrote:

 

We’re on Epicor 10 and need to develop a simple Web App that connects to Epicor via business objects. We’ve done only minimal work with IIS. I’m not very familiar with the MS development stack. Most of our dev work has been in a Linux environment. Not totally new to C# as we have been building customizations inside of BPM’s. I have a copy of the example code for a web app that Mercer Sisson developed (nice job!), but I don’t know how to proceed with setting up my environment. I would appreciate any help, examples, or resources. Couple questions that have been bumping around in my head...

 

What need’s to be setup or installed on IIS for my application to run. If my IIS is on the same server as my app server does anything else need to be installed or copied (EWA) ?

 

What needs to be setup or installed to allow development with visual studio? How are references to business objects made available? Do I need to “point” to the .NET dll’s somewhere?


Thanks



Marvin Horst

 

 

Stephen Edginton (Beng) | Solutions & Technical Director

Mobile:

 +44 7734 858415

DDI:

 +44 121 314 1179

Main:

 +44 (0) 121 314 1170

Web:

 www.dotnetit.co.uk

Dot Net IT Limited, One St Kenelm Court, Steel Park Road, Halesowen, B62 8HD, United Kingdom.

DotNetIT

Epicor Platinum Partner

Epicor Alliance Partner




We’re on Epicor 10 and need to develop a simple Web App that connects to Epicor via business objects. We’ve done only minimal work with IIS. I’m not very familiar with the MS development stack. Most of our dev work has been in a Linux environment. Not totally new to C# as we have been building customizations inside of BPM’s. I have a copy of the example code for a web app that Mercer Sisson developed (nice job!), but I don’t know how to proceed with setting up my environment. I would appreciate any help, examples, or resources. Couple questions that have been bumping around in my head...


What need’s to be setup or installed on IIS for my application to run. If my IIS is on the same server as my app server does anything else need to be installed or copied (EWA) ?


What needs to be setup or installed to allow development with visual studio? How are references to business objects made available? Do I need to “point” to the .NET dll’s somewhere?


Thanks


Marvin Horst


Try getting the Web Services Guide form EpicWeb that should get you through setup and initial code


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Fri, Oct 23, 2015 at 2:39 PM, marvinhorst@... [vantage] <vantage@yahoogroups.com> wrote:
Â
<div>
  
  
  <p></p><p dir="ltr" style="margin-top:0pt;margin-bottom:0pt;"><span style="font-size:14.666666666666666px;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">We’re on Epicor 10 and need to develop a simple Web App that connects to Epicor via business objects. We’ve done only minimal work with IIS. I’m not very familiar with the MS development stack. Most of our dev work has been in a Linux environment. Not totally new to C# as we have been building customizations inside of BPM’s. I have a copy of the example code for a web app that Mercer Sisson developed (nice job!), but I don’t know how to proceed with setting up my environment. I would appreciate any help, examples, or resources. Couple questions that have been bumping around in my head...</span></p><p><span><b style="font-weight:normal;"><br></b></span></p><p dir="ltr" style="margin-top:0pt;margin-bottom:0pt;"><span style="font-size:14.666666666666666px;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">What need’s to be setup or installed on IIS for my application to run. If my IIS is on the same server as my app server does anything else need to be installed or copied (EWA) ?</span></p><p><span><b style="font-weight:normal;"><br></b></span></p><p dir="ltr" style="margin-top:0pt;margin-bottom:0pt;"><span style="font-size:14.666666666666666px;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">What needs to be setup or installed to allow development with visual studio? How are references to business objects made available? Do I need to “point” to the .NET dll’s somewhere? </span></p><p><span><br><span style="font-size:14.6667px;font-family:Arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent;">Thanks</span><br></span></p><p><span><span style="font-size:14.6667px;font-family:Arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent;"><br></span></span></p><p><span><span style="font-size:14.6667px;font-family:Arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent;">Marvin Horst</span></span></p><p><span><br></span></p><p></p>

</div>
 


<div style="color:#fff;min-height:0;"></div>

#ygrps-yiv-1449005985 P.ygrps-yiv-1449005985b1e7fd89-0279-4ffe-a16a-1f1bcba0d537 { MARGIN:0cm 0cm 0pt;} #ygrps-yiv-1449005985 LI.ygrps-yiv-1449005985b1e7fd89-0279-4ffe-a16a-1f1bcba0d537 { MARGIN:0cm 0cm 0pt;} #ygrps-yiv-1449005985 DIV.ygrps-yiv-1449005985b1e7fd89-0279-4ffe-a16a-1f1bcba0d537 { MARGIN:0cm 0cm 0pt;} #ygrps-yiv-1449005985 TABLE.ygrps-yiv-1449005985b1e7fd89-0279-4ffe-a16a-1f1bcba0d537Table { MARGIN:0cm 0cm 0pt;} #ygrps-yiv-1449005985 DIV.ygrps-yiv-1449005985Section1 { }
What are you trying to build ?



On 23 Oct 2015, at 19:40, marvinhorst@... [vantage] <vantage@yahoogroups.com> wrote:

 

We’re on Epicor 10 and need to develop a simple Web App that connects to Epicor via business objects. We’ve done only minimal work with IIS. I’m not very familiar with the MS development stack. Most of our dev work has been in a Linux environment. Not totally new to C# as we have been building customizations inside of BPM’s. I have a copy of the example code for a web app that Mercer Sisson developed (nice job!), but I don’t know how to proceed with setting up my environment. I would appreciate any help, examples, or resources. Couple questions that have been bumping around in my head...


What need’s to be setup or installed on IIS for my application to run. If my IIS is on the same server as my app server does anything else need to be installed or copied (EWA) ?


What needs to be setup or installed to allow development with visual studio? How are references to business objects made available? Do I need to “point” to the .NET dll’s somewhere?


Thanks


Marvin Horst




Stephen Edginton (Beng) | Solutions & Technical Director

Mobile:  +44 7734 858415
DDI:  +44 121 314 1179
Main:  +44 (0) 121 314 1170
Web:  www.dotnetit.co.uk

Dot Net IT Limited, One St Kenelm Court, Steel Park Road, Halesowen, B62 8HD, United Kingdom.

DotNetIT

Epicor Platinum Partner

Epicor Alliance Partner

I need to build a web service that receives a request from a web app client to reschedule a list of job operations  to a specific date and time. For some additional background….


We’re implementing E10 for our other company which provides custom powder coating services. The main production operations are on the continuous track line resources where the product is washed, treated, sprayed and then cured. Changing powder color is a big deal, so the jobs need to be ordered first by the color, then grouped by a customer’s order. There can be anywhere from 50 - 400 jobs per day that need to be manually scheduled for a single line. Manually moving all these jobs around individually using the resource board is difficult and unwieldy particularly when the most important piece of information (the part no and description for the powder being used) is not visible.


I built an “ajaxy” web app (Apache/PHP/extjs)  that eases the burden of grouping and reordering the schedule for these resources. I’m accessing Epicor data directly via SQL as I was only reading data and just updating UD tables. The intent was to update the schedule by submitting csv files to the “Import Labor / Scheduling  Process”. I initially thought we could move a job op to a specific date and time enforcing the  order we desired, but this turned out to be very unreliable when using the import process.
Some of what you may also want to leverage is the cut list report.
I created a dashboard that I placed on MES to help pull together jobs that are using the same material.
Assuming you have a material on the jobs that is unique for all of the job, this could be used in selecting the jobs.  If you leverage global scheduling and locking the jobs (that have been scheduled), you might be able to utilize some of the standard functionality also.

Bruce Larson

Principal Consultant

Larson Solutions

763-486-0030

Epicor Services Partner