Compartir a través de


How eConnect was used

Both sample applications use classes in the Microsoft.Dynamics.GP.eConnect assembly.

Microsoft.Dynamics.GP.eConnect

The two applications vary in how they use the Microsoft.Dynamics.GP.eConnect classes. If you review the button click event handlers for each application you will note the following differences:

  • The C# application instantiates a GetNextDocNumbers object and a GetSopNumber object. The application uses the GetSopNumber object's GetNextSopNumber method to retrieve the next available SOP document number.

    The application uses the GetNextDocNumbers object to retrieve numbers for the other document types it displays. To retrieve these numbers, the application uses the GetNextPMPaymentNumber, GetNextRMNumber, GetNextIVNumber, and GetNextPONumber methods.

  • The Visual Basic .NET application instantiates a GetSopNumber object. If the Get next number option is marked, the application uses the GetSopNumber object's GetNextSopNumber method to retrieve the next SOP document number. If the Rollback number option is marked, the application uses the GetSopNumber object's RollBackSopNumber method.