How the sample application works

The sample application is a basic console application that uses classes from the eConnect .NET assemblies to create a new Microsoft Dynamics GP customer. The application creates an eConnect XML customer document using several eConnect serialization objects. When the document is complete, the application writes the document’s XML to the customer.xml file.

The application validates the customer XML to ensure the eConnect XML document is complete. To perform validation, the application uses the eConnect schema information in the eConnect.xsd file.

The application uses eConnect connection string information to connect to the eConnect business objects in your Microsoft Dynamics GP database.

The application takes the eConnect XML document, accesses the eConnect business objects, and creates a new Microsoft Dynamics GP customer.

If an error occurs, the error message is displayed in the console window.

Documentation Feedback