GetNextIVNumber Method
This method will retrieve the next document number for the specified type of Microsoft Dynamics GP inventory document.
Class
Microsoft.Dynamics.GP.eConnect.GetNextDocNumbers
Syntax
public virtual string GetNextIVNumber( GetNextDocNumbers.IncrementDecrement incDec, GetNextDocNumbers.IVDocType docType, string connString )
Parameters
Name |
Data type |
Description |
---|---|---|
incDec |
Microsoft.Dynamics.GP. |
Use the IncrementDecrement enumeration member Increment to get the next IV document number. Do not use the enumeration member Decrement in this version of eConnect. |
docType |
Microsoft.Dynamics.GP. |
Use an IVDocType enumeration member to specify the type of IV document number to return. IVDocType includes the following members: IVAdjustment IVVariance IVTransfer |
connString |
string |
Specifies the SQL server and database. |
Return Value
Type: string
This method returns a string that contains the inventory document number.