Thursday, 2 July 2015

GetNextPONumber in Dynamics GP Econnect

Below is sample code for creating custom Web Service using eConnect for Next PONumber.

public static string nextponumber = string.Empty;

string sConnectionString = @"data source=datasource;initial catalog=TWO;integrated security=SSPI;persist security info=False;packet size=4096";

GetNextDocNumbers myDocNumbers = new GetNextDocNumbers();

nextponumber = myDocNumbers.GetNextPONumber(IncrementDecrement.Increment, sConnectionString);

No comments:

Post a Comment