This method will retrieve the next document number for the specified type of Microsoft Dynamics GP sales order processing document.
Microsoft.Dynamics.GP.eConnect.GetNextDocNumbers
public virtual string GetNextSOPNumber( GetNextDocNumbers.IncrementDecrement incDec, string docIdKey, GetNextDocNumbers.SOPType docType, string connString )
Name |
Data type |
Description |
---|---|---|
incDec |
Microsoft.Dynamics.GP.
|
Use the IncrementDecrement enumeration member Increment to get the next SOP document number. Use Decrement to return the DocIDKey parameter as an unused document number. |
docIdKey |
string |
Specifies the document ID |
docType |
Microsoft.Dynamics.GP.
|
Use a SopType enumeration member to specify the type of SOP document number to return. SopType includes the following members: SOPQuote SOPOrder SOPInvoice SOPReturn SOPBackOrder. |
connString |
string |
Specifies the SQL server and database. |