GetNextPONumber Method
This method will retrieve the next purchase order document number from Microsoft Dynamics GP.
Class
Microsoft.Dynamics.GP.eConnect.GetNextDocNumbers
Syntax
public virtual string GetNextPONumber( GetNextDocNumbers.IncrementDecrement incDec, string connString )
Parameters
Name |
Data type |
Description |
---|---|---|
incDec |
Microsoft.Dynamics.GP. |
Use the IncrementDecrement enumeration member Increment to get the next PO document number. Do not use the enumeration member Decrement in this version of eConnect. |
connString |
string |
Specifies the SQL server and database. |
Return Value
Type: string
This method returns a string that contains the requested purchase order document number.