Hi All,
I'm using NAV 2009 SP 1, and I'm creating class library using VS.NET 2003 C# and SAP .NET Connector.
I'm creating function to retrieve table from SAP, and send it to Navision. I've already created the function and Navision can recognized it as automation.
Below is my code on c#, I'm using output value as .NET datatable.
public DataTable SAPInvCheck(string strProdCode, string strPlant)
{
//code to call some function on SAP... ...
DataTable dt = new DataTable();
dt = a.ToADODataTable();
return dt;
}
My question is how can i received the table from my automation to navision ?
Any help is appreciated.
Many Thanks,
Ferry
0
Comments
One thing I would like to know is how to do this quickly, eg: how do I serialise a DotNET data structure, from code running on a web site, without it calling the C# compiler at runtime.
TVision Technology Ltd
Blog by Tim Larson helping me a lot for this, you can check it out on :
http://adventuresindotnet.blogspot.com/ ... ation.html
Thanks,
Ferry
It's so slow that it makes the DomDocument+XMLport solution seem fast. Now that's some achievement. :shock:
TVision Technology Ltd
Hi rdebath,
i want to ask your advise, previously i've succesfully created the function to receive the table from .net automation.
But currently i'm struggling about how can i send navision table to .NET automation.
I'm thinking to send XML, but don't know how I should do it.
Any one, Please kindly help to advise me on this, how can I send navision table ( with many records, and many columns ) to .net Automation ?
Thank you,
Ferry
On the .net side you should be able to open the XML as a record set or similar.
TVision Technology Ltd