BLConnectionPool in E10

You can but its not recommended cause none of the apps will work in the Web Environment and VB is likely to be phased out in the next releases.


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Tue, Apr 7, 2015 at 10:14 AM, amathis@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p>Yes you can use either VB or C# for customization scripts.</p>

</div>
 


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

So in vantage we could use the BLConnectionPool, but in E10 it appears this is gone. Here is what I had, can anyone tell me what I should change this too in order for it to work in E10? I've tried a deal of things and I feel like I am close, but still stuck here is code.


private connectionPool as Ice.Core.BLConnectionPool


we then use it to create a dataset


        Dim ar As New ARInvoice(connectionPool)
        Dim arDataSet As ARInvoiceDataSet = ar.GetByID(invoiceNum)
        If arDataSet Is Nothing Then
            MessageBox.Show("Error retrieving invoice information: " & invoiceNum)
            Exit Sub
        End If


There is more code, but that is really all that needs to change. Any ideas would be appreciated. Thank you.

I had asked this question a while back because I couldn’t figure it out either.
Here is what I use (you’ll have to replace the objects names but you should get the idea):

static OrderAllocImpl orderAlloc;
orderAlloc = WCFServiceSupport.CreateImpl<Erp.Proxy.BO.OrderAllocImpl>((Session)oTrans.Session, Epicor.ServiceModel.Channels.ImplBase<Erp.Contracts.OrderAllocSvcContract>.UriPath);






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

addr: 179 Campanelli Pkwy | Stoughton | MA | 02072-3734
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring

[cid:c4425a.png@861c101d.4cb613cc]
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: Monday, April 06, 2015 9:54 AM
To: vantage@yahoogroups.com
Subject: [Vantage] BLConnectionPool in E10



So in vantage we could use the BLConnectionPool, but in E10 it appears this is gone. Here is what I had, can anyone tell me what I should change this too in order for it to work in E10? I've tried a deal of things and I feel like I am close, but still stuck here is code.



private connectionPool as Ice.Core.BLConnectionPool



we then use it to create a dataset



Dim ar As New ARInvoice(connectionPool)
Dim arDataSet As ARInvoiceDataSet = ar.GetByID(invoiceNum)
If arDataSet Is Nothing Then
MessageBox.Show("Error retrieving invoice information: " & invoiceNum)
Exit Sub
End If



There is more code, but that is really all that needs to change. Any ideas would be appreciated. Thank you.



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

Joe,


Thank you for replying. You don't by any chance have that in VB.net do you?


Thanks,

Aaron

I didn’t think you could use VB for E10?

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, April 07, 2015 9:06 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] BLConnectionPool in E10



Joe,



Thank you for replying. You don't by any chance have that in VB.net do you?



Thanks,

Aaron



[Non-text portions of this message have been removed]
Yes you can use either VB or C# for customization scripts.