E10: How to instantiate a BO?

I’m assume it’s the 10th level Epicor Wizard reason. :D
Thanks again.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:b8ecb0.png@2299b982.45a7665a]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, October 29, 2014 11:43 AM
To: Vantage
Subject: Re: [Vantage] E10: How to instantiate a BO?


I am a 10th Level Epicor Wizard .... or I just hammered at it for days till I got it to work, via Reflection and a LOT of Trial and Error


Jose C Gomez
Software Engineer

T: 904.469.1524 mobile
E: jose@...<mailto:jose@...>
http://www.josecgomez.com
[Image removed by sender.]<http://www.linkedin.com/in/josecgomez> [Image removed by sender.] <http://www.facebook.com/josegomez> [Image removed by sender.] <http://www.google.com/profiles/jose.gomez> [Image removed by sender.] <http://www.twitter.com/joc85> [Image removed by sender.] <http://www.josecgomez.com/professional-resume/> [Image removed by sender.] <http://www.josecgomez.com/feed/>

Quis custodiet ipsos custodes?

On Wed, Oct 29, 2014 at 11:40 AM, Joe Rojas jrojas@...<mailto:jrojas@...> [vantage] <vantage@yahoogroups.com<mailto:vantage@yahoogroups.com>> wrote:


Thanks Jose!
This is really helpful.

How did you figure this out?
I haven’t seen an examples or documents that explain this other than examples in this group.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291<tel:781-573-0291> | cell: 781-408-9278<tel:781-408-9278> | fax: 781-232-5191<tel:781-232-5191>

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@...<mailto:jrojas@...> | www.matsinc.com<http://www.matsinc.com>
Ask us about our clean, green and beautiful matting and flooring

[cid:adb19c.png@be0fd238.4dbb07ac]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


From: vantage@yahoogroups.com<mailto:vantage@yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage@yahoogroups.com>]
Sent: Wednesday, October 29, 2014 11:05 AM
To: Vantage
Subject: Re: [Vantage] E10: How to instantiate a BO?


E10 uses WCF Services, so you need to make a call to connect to your Web Service End Point , something like this
Ice.Proxy.BO.DynamicQueryImpl dq = WCFServiceSupport.CreateImpl<Ice.Proxy.BO.DynamicQueryImpl>((Session)oTrans.Session, Epicor.ServiceModel.Channels.ImplBase<Ice.Contracts.DynamicQuerySvcContract>.UriPath);



Jose C Gomez
Software Engineer

T: 904.469.1524<tel:904.469.1524> mobile
E: jose@...<mailto:jose@...><mailto:jose@...<mailto:jose@...>>
http://www.josecgomez.com
[Image removed by sender.]<http://www.linkedin.com/in/josecgomez> [Image removed by sender.] <http://www.facebook.com/josegomez> [Image removed by sender.] <http://www.google.com/profiles/jose.gomez> [Image removed by sender.] <http://www.twitter.com/joc85> [Image removed by sender.] <http://www.josecgomez.com/professional-resume/> [Image removed by sender.] <http://www.josecgomez.com/feed/>

Quis custodiet ipsos custodes?

On Wed, Oct 29, 2014 at 10:59 AM, Joe Rojas jrojas@...<mailto:jrojas@...><mailto:jrojas@...<mailto:jrojas@...>> [vantage] <vantage@yahoogroups.com<mailto:vantage@yahoogroups.com><mailto:vantage@yahoogroups.com<mailto:vantage@yahoogroups.com>>> wrote:


Hello,

In E9, when instantiating a BO, you would pass in a Session Object or oTrans.

In E10, it looks like the BO contructor has 3 overloads with each looking for 3 or more parameters.

.ctor(Binding, Uri, EndpointIdentity)
.ctor(Binding, Uri, ClientCredentials, EndpointIdentity)
.ctor(EndpointAddress, Binding, ClientCredentials, Boolean)

Could someone please provide an example of what to pass for parameters when instantiating a BO?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291<tel:781-573-0291><tel:781-573-0291<tel:781-573-0291>> | cell: 781-408-9278<tel:781-408-9278><tel:781-408-9278<tel:781-408-9278>> | fax: 781-232-5191<tel:781-232-5191><tel:781-232-5191<tel:781-232-5191>>

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@...<mailto:jrojas@...><mailto:jrojas@...<mailto:jrojas@...>> | www.matsinc.com<http://www.matsinc.com><http://www.matsinc.com>
Ask us about our clean, green and beautiful matting and flooring

[cid:4b0217.png@4e0fa063.48bf69b0]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]




[Non-text portions of this message have been removed]
Hello,

In E9, when instantiating a BO, you would pass in a Session Object or oTrans.

In E10, it looks like the BO contructor has 3 overloads with each looking for 3 or more parameters.

.ctor(Binding, Uri, EndpointIdentity)
.ctor(Binding, Uri, ClientCredentials, EndpointIdentity)
.ctor(EndpointAddress, Binding, ClientCredentials, Boolean)

Could someone please provide an example of what to pass for parameters when instantiating a BO?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:4b0217.png@4e0fa063.48bf69b0]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.




[Non-text portions of this message have been removed]
E10 uses WCF Services, so you need to make a call to connect to your Web Service End Point , something like this
Ice.Proxy.BO.DynamicQueryImpl dq = WCFServiceSupport.CreateImpl<Ice.Proxy.BO.DynamicQueryImpl>((Session)oTrans.Session, Epicor.ServiceModel.Channels.ImplBase<Ice.Contracts.DynamicQuerySvcContract>.UriPath);



Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Wed, Oct 29, 2014 at 10:59 AM, Joe Rojas jrojas@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>Hello,


In E9, when instantiating a BO, you would pass in a Session Object or oTrans.

In E10, it looks like the BO contructor has 3 overloads with each looking for 3 or more parameters.

.ctor(Binding, Uri, EndpointIdentity)
.ctor(Binding, Uri, ClientCredentials, EndpointIdentity)
.ctor(EndpointAddress, Binding, ClientCredentials, Boolean)

Could someone please provide an example of what to pass for parameters when instantiating a BO?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:4b0217.png@4e0fa063.48bf69b0]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]

</div>
 


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

Thanks Jose!
This is really helpful.

How did you figure this out?
I haven’t seen an examples or documents that explain this other than examples in this group.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:adb19c.png@be0fd238.4dbb07ac]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, October 29, 2014 11:05 AM
To: Vantage
Subject: Re: [Vantage] E10: How to instantiate a BO?


E10 uses WCF Services, so you need to make a call to connect to your Web Service End Point , something like this
Ice.Proxy.BO.DynamicQueryImpl dq = WCFServiceSupport.CreateImpl<Ice.Proxy.BO.DynamicQueryImpl>((Session)oTrans.Session, Epicor.ServiceModel.Channels.ImplBase<Ice.Contracts.DynamicQuerySvcContract>.UriPath);



Jose C Gomez
Software Engineer

T: 904.469.1524 mobile
E: jose@...<mailto:jose@...>
http://www.josecgomez.com
[Image removed by sender.]<http://www.linkedin.com/in/josecgomez> [Image removed by sender.] <http://www.facebook.com/josegomez> [Image removed by sender.] <http://www.google.com/profiles/jose.gomez> [Image removed by sender.] <http://www.twitter.com/joc85> [Image removed by sender.] <http://www.josecgomez.com/professional-resume/> [Image removed by sender.] <http://www.josecgomez.com/feed/>

Quis custodiet ipsos custodes?

On Wed, Oct 29, 2014 at 10:59 AM, Joe Rojas jrojas@...<mailto:jrojas@...> [vantage] <vantage@yahoogroups.com<mailto:vantage@yahoogroups.com>> wrote:


Hello,

In E9, when instantiating a BO, you would pass in a Session Object or oTrans.

In E10, it looks like the BO contructor has 3 overloads with each looking for 3 or more parameters.

.ctor(Binding, Uri, EndpointIdentity)
.ctor(Binding, Uri, ClientCredentials, EndpointIdentity)
.ctor(EndpointAddress, Binding, ClientCredentials, Boolean)

Could someone please provide an example of what to pass for parameters when instantiating a BO?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291<tel:781-573-0291> | cell: 781-408-9278<tel:781-408-9278> | fax: 781-232-5191<tel:781-232-5191>

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@...<mailto:jrojas@...> | www.matsinc.com<http://www.matsinc.com>
Ask us about our clean, green and beautiful matting and flooring

[cid:4b0217.png@4e0fa063.48bf69b0]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]




[Non-text portions of this message have been removed]
I am a 10th Level Epicor Wizard .... or I just hammered at it for days till I got it to work, via Reflection and a LOT of Trial and Error


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Wed, Oct 29, 2014 at 11:40 AM, Joe Rojas jrojas@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>Thanks Jose!

This is really helpful.

How did you figure this out?
I haven’t seen an examples or documents that explain this other than examples in this group.





Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291 | cell: 781-408-9278 | fax: 781-232-5191

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring



[cid:adb19c.png@be0fd238.4dbb07ac]


This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.




From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]


Sent: Wednesday, October 29, 2014 11:05 AM


To: Vantage


Subject: Re: [Vantage] E10: How to instantiate a BO?



E10 uses WCF Services, so you need to make a call to connect to your Web Service End Point , something like this
Ice.Proxy.BO.DynamicQueryImpl dq = WCFServiceSupport.CreateImpl<Ice.Proxy.BO.DynamicQueryImpl>((Session)oTrans.Session, Epicor.ServiceModel.Channels.ImplBase<Ice.Contracts.DynamicQuerySvcContract>.UriPath);



Jose C Gomez
Software Engineer

T: 904.469.1524 mobile
E: jose@...<mailto:jose@...>
http://www.josecgomez.com
[Image removed by sender.]<http://www.linkedin.com/in/josecgomez> [Image removed by sender.] <http://www.facebook.com/josegomez> [Image removed by sender.] <http://www.google.com/profiles/jose.gomez> [Image removed by sender.] <http://www.twitter.com/joc85> [Image removed by sender.] <http://www.josecgomez.com/professional-resume/> [Image removed by sender.] <http://www.josecgomez.com/feed/>

Quis custodiet ipsos custodes?

On Wed, Oct 29, 2014 at 10:59 AM, Joe Rojas jrojas@...<mailto:jrojas@...> [vantage] <vantage@yahoogroups.com<mailto:vantage@yahoogroups.com>> wrote:


Hello,

In E9, when instantiating a BO, you would pass in a Session Object or oTrans.

In E10, it looks like the BO contructor has 3 overloads with each looking for 3 or more parameters.

.ctor(Binding, Uri, EndpointIdentity)
.ctor(Binding, Uri, ClientCredentials, EndpointIdentity)
.ctor(EndpointAddress, Binding, ClientCredentials, Boolean)

Could someone please provide an example of what to pass for parameters when instantiating a BO?




Joe Rojas | Director of Information Technology | Mats Inc
dir: 781-573-0291<tel:781-573-0291> | cell: 781-408-9278<tel:781-408-9278> | fax: 781-232-5191<tel:781-232-5191>

addr: 37 Shuman Ave | Stoughton | Ma | 02072-3734
jrojas@...<mailto:jrojas@...> | www.matsinc.com<http://www.matsinc.com>
Ask us about our clean, green and beautiful matting and flooring

[cid:4b0217.png@4e0fa063.48bf69b0]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]

</div><span class="ygrps-yiv-494024450">
 


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