Hello every one.
I have created a COM dll by adding a webservice reference. One of the method in webservice returns list of items order wise. The dll is used as an automation variable in NAV 2009R2 version. Issue is that the method which brings back items list need to be handled in SAFEARRAY as function definition displayed in NAV. Few blogs says its a limitation of COM / Automation that all things are not handled. Few says use VARAINT for SAFEARRAY. But using Variant is also not working fine as all function of variant variable retuned NO. Like ISTEXT, ISFILE,ISRECORD..etc all are NO.
Please suggest if there is any way to handle this. Function definition is also attached for reference. Automation even did not have System.Array kind of things else it may help
Let me know
Thanks
Nav
0
Answers
mibuso.com/downloads/dbolewrapper-v0.2
forum.mibuso.com/discussion/comment/220118#Comment_220118
forum.mibuso.com/discussion/comment/63321#Comment_63321
DBOLE.ArrayCreate(SalesHeaderArray,1000);
SalesHeaderArray := Conn.salesOrderList(SessID,filters);
Nothing in salesheaderarray. Any suggestion. ?