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]