(Epicor10) What assemblies to reference?

Add reference Path to Server\Assemblies and Server\Bin


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Sun, Apr 12, 2015 at 11:46 PM, s1mhall@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>Hello,<br>Don&#39;t you just go into BPM designer open the method you are interested in then click on the Actions Menu, click on advanced then click on the programming interface button, or is this different in E10?<br><br>Cheers<br>Simon Hall</p>

</div>
 


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

Does anybody know a good resource to spell out which assemblies to reference when writing an external BPM in Visual Studio? 

For example, let's say I want to write an external BPM for a method in UD09. I choose the UD09 Business Object from the Method Directives form, pick the GetByID method, select Create Programming Interfaces from the Actions menu, save the appropriate template (in this case, C#) to wherever and open it up in Visual Studio. 

The template provides several usings, some of which are underlined by red squiggles because their assemblies aren't referenced. These are:

using System.ServiceModel;
using Epicor.Data;
using Epicor.Hosting;
using Ice.Contracts;
using Ice.ExtendedData;
using Ice.Lib;
using Ice.Tables;
using Ice.Tablesets;

So I go to add references and browse to the Server\Assemblies and Server\Bin directories where the assemblies are at. In the Server\Bin folder I grab Epicor.ServiceModel.dll. This removes the squiggles from all of the usings except two, one of them interestingly being System.ServiceModel (which now has the squiggle just under the ServiceModel namespace, but not the System namespace). The other is Ice.Tables (which has the squiggle under the Tables but not the Ice). 

I won't drag this out by naming all of the dlls I tried to get rid of the squiggles. Two questions:

1) Does anybody know what assemblies I should be referencing? 

2) Is there any documentation that I could use as a guide in the future? (I haven't been able to find any)

Thanks!


Hello,
Don't you just go into BPM designer open the method you are interested in then click on the Actions Menu, click on advanced then click on the programming interface button, or is this different in E10?

Cheers
Simon Hall