Take the 2-minute tour ×

I'm using eConnect to create and update various items in Dynamics GP, but I can't seem to find how to use it to read data from GP.

For example, I'd like to get the Vendor and Account lists from GP. Is there a way to do this from eConnect? Do I have to use SQL?

share|improve this question

2 Answers 2

i use gpwebservice for this

use webservice method wsDynamicsGP.GetVendorList();

alternatively you can use the below query

select VendorId,VENDname as VendorName from PM00200

share|improve this answer

You don't have to use SQL; you can use eConnectOut to retrieve data, but the result sets are somewhat limited out of the box. In the end I found that just dealing with SQL was easier for me because eConnectOut doesn't give you access to all of the GP data without manipulation to the eConnect_Out_Setup table which is cumbersome at best.

There's a long list of DOCTYPEs in the eConnect_Out_Setup table for pre-existing eConnectOut queries if you're interested. The DOCTYPE you are probably looking for is Vendor (which is in the PM00200 table if you're using SQL).

Here's an example of eConnectOut using C#: http://msdn.microsoft.com/en-us/library/ff623639.aspx

If you are using XML for eConnect transactions, here's an example of that:

<eConnect xmlns:dt="urn:schemas-microsoft-com:datatypes">

More documentation on eConnectOut can be found on MSDN.

share|improve this answer

Your Answer


