E10 WCF Services Data

https://msdn.microsoft.com/en-us/library/bb669096.aspx

https://msdn.microsoft.com/en-us/library/bb386921.aspx

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, May 13, 2015 12:34 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] E10 WCF Services Data

 




Would you be willing to share to code to do this?

 

Thanks,
Tanner

 

On Tue, 12 May 2015 13:51:46 -0500, bwalker@... [vantage] <vantage@yahoogroups.com> wrote:

 

 

I found some MSDN code that does the trick for me

 

Google is my friend ;)

 

Thanks!

 

Bernie.



--

Using Opera's mail client: http://www.opera.com/mail/




 I am looking for a way to convert the data in a 'Epicor' TablesetTable to a System.Data.DataTable


This is for a 'Web' application using Epicor WCF Services


Thanks,


bw

You should be able to just cast it.

On Tue, May 12, 2015 at 1:29 PM, bwalker@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p></p><p><span>Â I am looking for a way to convert the data in a &#39;Epicor&#39; TablesetTable to a System.Data.DataTable</span></p><p><span><br></span></p><p><span>This is for a &#39;Web&#39; application using Epicor WCF Services</span></p><p><span><br></span></p><p><span>Thanks,</span></p><p><span><br></span></p><p><span>bw</span></p><p></p>

</div>
 


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

I have tried - all I keep getting are error messages "Can not convert from Epicor.blahblahbladTable to System.Data,DataTable


this stuff is enough to drive me to drink :(

Odd. We do this pretty regularly. If you want, pop your code up and we can take look.Â

On Tue, May 12, 2015 at 2:05 PM, bwalker@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p></p><p>I have tried - all I keep getting are error messages &quot;Can not convert from Epicor.blahblahbladTable to System.Data,DataTable</p><p><br></p><p>this stuff is enough to drive me to drink :(<br></p><p></p>

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


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


You can't really cast it to a DataSet. A table set inherits from IceTableset which is a custom object
now the TableSet contains Generic Lists of IceRow types you could try to loop through those but without some reflection is going to be tough


Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Tue, May 12, 2015 at 1:29 PM, bwalker@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p></p><p><span>Â I am looking for a way to convert the data in a &#39;Epicor&#39; TablesetTable to a System.Data.DataTable</span></p><p><span><br></span></p><p><span>This is for a &#39;Web&#39; application using Epicor WCF Services</span></p><p><span><br></span></p><p><span>Thanks,</span></p><p><span><br></span></p><p><span>bw</span></p><p></p>

</div>
 


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

I found some MSDN code that does the trick for me


Google is my friend ;)


Thanks!


Bernie.

#ygrps-yiv-1426475052 {font-family:'Times New Roman';font-size:13px;}
Would you be willing to share to code to do this?

Thanks,
Tanner

On Tue, 12 May 2015 13:51:46 -0500, bwalker@... [vantage] <vantage@yahoogroups.com> wrote:

 
<div id="ygrps-yiv-1426475052ygrp-text">
  
  
  <p>I found some MSDN code that does the trick for me</p><p><br></p><p>Google is my friend ;)</p><p><br></p><p>Thanks!</p><p><br></p><p>Bernie.<br class="ygrps-yiv-1426475052yui-cursor"></p>

</div>
 


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



--
Using Opera's mail client: http://www.opera.com/mail/