3rd party integration with sage 100

Hello Everyone,

I am trying to build a 3rd party C# application for my client on sage 100, i read several things but was not able to achieve this,

i have been trying few sample codes to connect with sage using BOI but i am not able to read data from sage or write data back to sage.

https://sagecity.na.sage.com/support_communities/sage100_erp/f/100/t/41828 " /---  

i am getting an error at ""using (DispatchObject so_order = new DispatchObject(pvx.InvokeMethod("NewObject", "SO_SalesOrder_bus", oSS.GetObject())))""

"NewObject Error:200"

can anyone who has worked on such integration please help me out.

Thanks

Seshasai