There are two sample applications that demonstrate how to retrieve document numbers. The C# version allows you to request a document number for SOP, PM, SOP Payments, IV, and PO.
The Visual Basic .NET. version demonstrates how to retrieve and return a SOP document number.
To build either sample application, you must have Visual Studio and the .NET Framework installed on your computer.