Each time you click the C# application’s Get Next Numbers button, it retrieves the next document number for each document type from the company identified by the SQL Server and Database settings. The application displays the number for each type of document.
If you mark the Visual Basic .NET application’s Get next number option and click the Run button, the application retrieves and displays the next available SOP document number. If you subsequently mark the Rollback number option and click Run, the application will indicate that it has put back the specified SOP document number.
If an error occurs while running either application, the application opens a dialog box and displays the error message.