Search code examples
c#dynamics-gp

Collecting a list of vendors


I have been searching for hours on Google and Microsoft to find a code example of how to collect a list of active vendors from Microsoft Dynamics Great Plains 9 via eConnect.

I have downloaded 3 SDKs, multiple snippets, and an obscene amount of documents, to no avail.

How would I do this?


Solution

  • VendorCriteria x = new VendorCriteria();
    x.IsActive = new RestrictionOfNullableOfboolean();
    x.IsActive.EqualValue =true ;
    VendorSummary []=wsDynamicsGP.GetVendorList(x,context);