×

C# sample application

 
C# Topal_API_TestApplication
Download the application from download section
 
  • First step
    Please open the solution file “Topal_API_TestApplication.sln” with your Microsoft Visual Studio environment.
     
  • Replace DLL's
    It is recommended to update the Topal_SAPI.dll and TopalTypes.dll in the sample project, depending on the installed Topal Version.
     
  • Run the Application
Please run the Test application via Visual Studio. You will see the following screen
 
Figure 1: Graphical User Interface of Test Application

Connect to Topal
Enter the IP address or DNS name of the Topal Server. If you have a local installation of Topal Server you might use “localhost” (127.0.0.1) as connection parameter.
Enter user name and password and press “Connect”. Three Combo boxes will be activated on the bottom left, as soon as a connection could be established.
Select the client, fiscal year and VAT period to load the required client data.
 
C# sample application
Figure 2: Selection area
 
Data Tab
The “Data” tab provides the possibility to select a table via combo box. The test application will load the requested data into a data grid view,
as soon as you selected a table.
 
 
Figure 3: Account selection                                                                                               Figure 4: Party selection
 
 
Log Tab
The “Log” tab indicates the results of the commands executed by the server. The “Create New/Find” tab provides examples on how to add new instances.
Different source codes examples are available in the download section to give you an idea on how to use the Topal API in different programming languages.
 
 
1

Client selection Combo box

Select the client to run your test on.
2

Fiscal year selection Combo box

Select the required fiscal year