GetSopNumber Class
The GetSopNumber class allows you to retrieve the next valid SOP number from Microsoft Dynamics GP. You can use the SOP number to create new sales documents. The class allows you to return numbers that you do not use.
Inherits from the System.EnterpriseServices.ServicedComponent class.
Constructor
Name |
Description |
---|---|
GetSopNumber() |
Initializes an instance of the GetSopNumber class. |
Methods
Name |
Return Value |
Description |
---|---|---|
void |
Releases the resources of the GetSopNumber object. |
|
string |
Retrieves the next document number for a specified type of sales order document. |
|
bool |
Returns an unused sales document number. |
Examples
The following Visual Basic .NET example creates a GetSopNumber object:
'Instantiate a GetSopNumber object Dim SopNumberObject As New GetSopNumber