Create a new file wizard
The Create a new file wizard creates a database for a new company on an SQL Server, defines the first user, and applies a template that holds the chart of accounts and more. The steps are in order in Create a new company file. This page covers every page, field and message.
Opening the wizard
- Click File > Home > Create a new file. The button exists in the standard edition only.
- The wizard opens by itself when the program starts if the recent files list is empty.
- Before the wizard, the program checks that a default server is set and reachable (if not, it opens Connect to Server) and that a creation template exists, and then asks whether to close open windows. They are described on the Home page.
- In the simplified mode the wizard starts at the template page and shortens its path, as described in Simplified mode.
The wizard has a fixed size. At the bottom are the buttons Back, Next and Cancel, and on the last page Start replaces Next. Esc and the Cancel button close the wizard, and the program asks "Are you sure you want to cancel creating files operation?". The wizard cannot be closed while it creates the file.

Pages
Welcome to Creating Files Wizard
An information page. It explains that the wizard guides you step by step to create files that hold material cards, customers, bills and entries, that you do this once unless you want files for another company, and that this version needs Microsoft SQL Server 2019 or higher. When you click Next, the program starts to download the extra templates from the internet in the background.
Select Creation Template

| Element | Description | Required | Values and rules |
|---|---|---|---|
| Search box | Filters the templates by name. | No | Shortcut Ctrl+F. |
| Template list | The template the file is built on. | Yes | Templates of the local folder first, then the internet templates after a dividing line. Each template has a picture and a name. |
| Description | The explanation of the selected template. | — | Shows beside the list. |
Next does not work until you select a template. While the extra templates load, "Loading more templates..." shows with a progress bar. If loading fails, an error box shows: "Error downloading templates from the Internet, please make sure you have a valid internet connection to download more templates." with the link Retry. On retry, the internet templates are removed from the list and loaded again.
Select Shortcut Location
The text explains that the actual file is created on the server and that the .sdf shortcut opens it.
| Option | Description | Values and rules |
|---|---|---|
| Auto Location | A suggested path, shown under it. | Selected at first. The path is in the Documents folder: Al-Ameen\10.0\data\data00\data.sdf. The number in the folder name is the first number for which no folder exists. |
| Custom | A path you choose. | The path box shows when you choose this option. The browse button opens a save window for .sdf files and asks before it overwrites an existing file. |
Files Location Notes
The text explains that the actual files are kept on the server, that the shortcut holds no accounting information, and points out the effect on backup. The box "I understand how data is stored within the SQL Files and the significance of the shortcut." must be ticked before Next works.
Enter File Description
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Descriptive Name | The name that shows in the recent files list and in the program windows. | Yes | Up to 100 characters. The suggested value is "Company Files for Year" and the current year, or next year in December. If you leave it empty, "The field 'Descriptive Name' is required. Please enter an appropriate value." appears. |
Enter User Name
The text explains that this user has every permission and that, if you forget the password, you cannot open the file.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| User name | The name of the first user. | Yes | The suggestion is "مدير" in right-to-left interfaces and Manager in the others. If you leave it empty, an error icon shows by it with the hint "Name can't be empty." and Next is disabled. |
| Password | His password. | No | The wizard does not check its strength. |
| Confirm password | The same password. | When a password is set | If they differ, an error icon with the hint "Passwords do not match." shows and Next is disabled. |
When you click Next, the program checks the suggested server and suggests a database name. If it cannot connect, a message appears with the title of the error and its cause, and under it "Click "Ok" to retry connecting or "No" to exit.". Yes retries after one second, and No opens the Connect to Server window.
Set SQL Server and Database
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Server name: | The server on which the database is created. | Yes | A closed list of the servers for which you set a connection. The first value is the server last used for a new file, or else the default server. The connection button in the box opens Connect to Server. When the server changes, the program checks it and suggests a new database name. |
| Database Name: | The name on the server. | Yes | The suggestion is AmnDb followed by the number after the last one on the server. No database with the same name may exist on the server. |
The page text says you can choose an existing database, but the wizard refuses any name that an existing database has, so choose a new name. When you click Next: if Server name: is empty, "Name can't be empty." appears. If Database Name: is empty, "Database name can't be empty." appears. If a database has that name, "There is an existing Database with the same name" appears with "Please select a different Database name" under it. If the server has a system administrator, its page appears. Otherwise the wizard goes to the opening date.
System Administrator Password
Shows only if the server has a system administrator. The text explains that the system administrator restores backups with no file open and updates files, and that he is set at the server level.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| System administrator | His name. | Yes | If wrong, "No such user or group" appears. |
| Password | His password. | Yes | If wrong, "Invalid password" appears. |
Opening Date
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Opening Date | The date of the first operation in the file. | Yes | The suggestion is the first day of the current year. The program then accepts no operation dated before it. It sets the end of the period to the end of the year that holds this date. The box does not accept an empty value. |
Enter Basic Currency
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Currency Name | The base currency. | Yes | A list that searches as you type. The suggestion is the currency of the computer's country in the Windows settings, or else the first one. Its exchange rate is one. |
| Currency Part Name | The name of the smaller part. | — | Read only. |
| Latin Name | Its name in English. | — | Read only. |
| Latin Part Name | The part name in English. | — | Read only. |
| Currency Code | The international code. | — | Read only. |
| "Every 1 … =" | The number of parts in the unit. | — | Read only: 10, 100 or 1000. |
Log File Options
| Option | Description | Values and rules |
|---|---|---|
| Activate log file | The program records edit operations: add, change and delete. | On at first. |
| Save changes details in log file | Saves the details of the operation before and after the change. | On at first. It is disabled and cleared if you clear the first option. |
Summary
It shows your choices and lets you edit what can be edited without going back to the pages.

| Item | What it does |
|---|---|
| Creation Template: | Display only. |
| Descriptive Name: and User name: | Two boxes to edit. If the descriptive name is empty, the required-field message appears when you click Next. |
| Password: | A link with the text "Password is defined" or "No password found": it opens the password window. |
| Shortcut Location: | A link with the path of the shortcut. To change it, click Back to the shortcut location page. |
| Database: | A link with the text "database on server" or "No database selected": it opens the server and database window. |
| Opening Date and Currency: | Two boxes to edit. |
| Log File: | The two options above. |
| Use simplified mode when creating files | See Simplified mode. |
Files Creation
A last page that shows: "The program is ready now to start creating files, click "start" to start creating, or "back" to change files' creation options.". When you click Start, the stage text and a progress bar show, the buttons are disabled and you cannot cancel. The stages and the result of the creation are in Create a new company file.
During creation the progress text shows "Loading creation template..." and then "Closing file..." if a file is open, then the stages of creating the database, then "Applying Template:" and its name. On success the program signs you in as the new user, adds the file to the list and closes the wizard. If an error occurs after you click Start, the wizard closes and you start again from the beginning.
Simplified mode
The option Use simplified mode when creating files on the Summary page saves your choice. Its note reads "Skip the detailed windows and go directly to this window when creating another file later". When it is on, the wizard opens at the template page from then on, with no Back button, and loads the internet templates when it opens. When you click Next: if you have a suggested server, the program checks it, suggests a database name and goes to Summary. Otherwise it goes to the server and database page. If the server check fails and you do not choose another server, Summary opens with "No database selected" beside Database:: click that link to choose the server and database. The system administrator password is not asked on this path. Clear the option on Summary to return to the full wizard.
Password window
It opens from the link Password: on Summary. Its title is Change Password.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| New password: | The password. | No | Can stay empty. |
| Confirm password: | The same password. | When a password is set | If they differ, "Passwords do not match." appears and the window stays. |
Server and database window
It opens from the link Database: on Summary. Its title is "Set SQL Server and Database" and it shows the same explanation as the page.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Server name: | The server. | Yes | Choose from the list; you cannot type in the box. The connection button opens Connect to Server. When the server changes, the program checks it and suggests a database name. |
| Database Name: | The name. | Yes | Disabled during the check. |
Ok is disabled during the check. When you click it, the same messages as on the database page appear: the server name is empty, the database name is empty, the server cannot be reached, or a database with that name exists. If the server cannot be reached during the check, the same message appears with the buttons Yes and No.
Internal tool that creates templates
Among the internal tools of the program there is a wizard that creates the creation templates this wizard offers. It is hidden in a normal installation. The right-click menu of its lists has two items: "تحديد الكل" and "مسح التحديد", in Arabic in every language. You do not need it to create a file.
Messages
| Message | When it appears |
|---|---|
| Are you sure you want to cancel creating files operation? | You clicked Cancel or pressed Esc before Start. The buttons are Yes and No. |
| Database Connection Failed | The server could not be reached. The possible causes follow. Yes retries and No changes the server. |
| Your Microsoft SQL Server version is not supported | The server is older than 2019. |
| The field 'Descriptive Name' is required. Please enter an appropriate value. | The descriptive name is empty when you click Next. |
| Name can't be empty. | Server name: is empty. |
| Database name can't be empty. | Database Name: is empty. |
| There is an existing Database with the same name | A database with this name exists on the server. Under it: "Please select a different Database name". |
| No such user or group | The system administrator name is wrong. |
| Invalid password | The system administrator password is wrong. |
| Passwords do not match. | Password and Confirm password differ. |
| The creation template could not be loaded. Please try again later. | The internet template could not be downloaded when you clicked Start. The wizard closes after the message. |
| The specified template file is invalid. | The template file is damaged. Under it: "The file will be created according to the default template.". |
| An error occurred while applying the specified template. | Some template content could not be applied. Under it: "The default template will be applied.". |
The causes and what to do are in Create a new company file.
Related
This page applies to alameen ERP 10, version 10.1.79.764.