Language:


Loading an Existing Database and Company

Follow the procedures described on this page when you need to launch the Standard ERP application when you already have an existing database containing at least one Company.

Server - Command Line and Service Applications

In a multi-user installation, launch Standard ERP on the server first.

If your server is a Linux or Mac OS X machine, make sure it is in "Terminal" mode. Type the following into the Terminal window (the examples assume you have retained the default directory structure):

cd /Applications/StandardERPServer

./StandardERPServer & (Linux 32-bit),
./StandardERPServer64 & (Linux 64-bit) or
./StandardERPServer & (Mac OS X)
Starts the Standard ERP server application. The & is optional: it allows you to run the program in the background and to use the Terminal window for other tasks.

This assumes the application is named "StandardERPServer" or "StandardERPServer64". If this is not the case, type the application name after "./"
Remember when typing that the Terminal environment on Linux is case-sensitive.

If your server is a Windows machine, the Standard ERP server application is a service that by default will be launched automatically when you start up the server machine. If for some reason the service does not start automatically, open the Control Panel and double-click 'Administrative Tools' and then 'Services'. Find and select 'Standard ERP Server (32-bit)' or 'Standard ERP Server (64-bit)' in the list as appropriate and choose to start the service. (The name may vary slightly, depending on the precise version of Standard ERP you are using.)

Users will now be able to log on to work in any of the Companies stored in the database on the server. To log in, follow the procedure described in the 'Single-user and Client' section immediately below.

You can now leave the server alone.

For details about shutting down the server, please refer to the Shutting Down page.

Launching the Server with Parameters

There will be occasions when you need to launch the server application with parameters. You will need to use a parameter when you want to instruct the server application to carry out a specific task. For example, if you launch the command line server (Mac OS X and Linux) using the --backup parameter as shown below, the Standard ERP server application will open, create a back-up file and then quit:
./StandardERPServer --backup (Linux 32-bit)
./StandardERPServer64 --backup (Linux 64-bit) or
./StandardERPServer --backup (Mac OS X)
Various parameters are described in the relevant sections of these web pages.

An alternative method that you can use to launch the server application with parameters is to place the parameter in a text file named "parameters.txt" and save this file in the same folder or directory as the server application. Then, launch the server application as described towards the beginning of this page. You should only place the parameter (--backup in this example) in the "parameters.txt" file: do not include "./StandardERPServer" or "./StandardERPServer64" in the file.

You can place more than one parameter in the "parameters.txt" file. You can place the parameters on the same line in the file, or you can use separate lines. If you do not want the task launched by a particular parameter to be repeated the next time you launch the application, remember to remove that parameter from the "parameters.txt" file once the task has been completed.

You can use the "parameters.txt" file with every version of the Standard ERP application (i.e. the command line application (Mac OS X and Linux), the service application (Windows) and the GUI applications). In the case of the service application, the "parameters.txt" file is the only way to launch the server application with parameters. In the case of Linux, which is case-sensitive, the filename "parameters.txt" should be in lowercase as written here.

Single-user and Client

Start Standard ERP just like any other Windows, Linux or Mac OS X application, by double-clicking the program icon. Standard ERP will load the database named "HANSA.HDB". If this is not present in the folder or directory, a new database will be created automatically.

If you have a single Company in your database, it will be loaded by default and you will be asked to log in. Your log-in ID (known as your "Signature") will be shown in the 'Login' window automatically.

If you have more than one Company, the last Company you used will be loaded by default and you will be asked to log in. The 'Login' window will show you which Company this is ("Holding Company" in this example):

If you want to work in a different Company, click the [Cancel] button in the 'Login' window. It will be closed, and the 'Select Company' window will appear, asking you to choose the Company you want to work in:

Double-click the Company that you need in the list, or highlight it and press the Enter key on your keyboard. You will then be asked to log in: after doing so, the Navigation Centre illustrated and described on the Work Area page will appear. The database is now ready to use. If you have any tasks scheduled for the day (or any that are outstanding from previous days), the Task Manager will open automatically. This will list those tasks and is fully described on the Task Manager page.

---

See also:

Go back to: