Share via


How the Import GL Transactions sample works

The application consists of three classes: The TransactionProcessor user interface class manages the display of data, and reports the progress of the batch. The XmlManager class opens the XML file and creates an XML document object. The DataManager class uses XML and the services CreateGLTransaction method to create a GL transaction in Microsoft Dynamics GP.

The TransactionProcessor class handles all errors and logs error messages to a file. TransactionProcessor places the log file in the same directory as the XML source file, and names the log file TransactionProccessorErrorLog.txt.