Skip to main content

Import Data

The Import data from POS Web wizard brings into the company file what happened in the closed shifts of POS Web within a period you choose: accounts, cards, materials and entries. It works in steps, each of which checks first and then creates what is missing. The practical procedure is in Import data from POS Web; this page explains every step.

Opening the window​

  • From the ribbon: Systems > POS Web > Import Data.
  • The command is available to users with the Import Data permission in Users Management, and the company file must be open. It needs no special licence.
  • The wizard does not open until two checks succeed. While they run, a small window shows "Verifying connection settings..." and then "Verifying default currencies matching...":
CheckConditionIf it fails
ConnectionA saved connection key exists in Connection Settings, or signing in with those settings succeeds.The message "Connection failed." followed by "Please check the connection information entered.".
Base currencyThe file's base currency (the currency with rate 1) has the same ISO code as the national currency of POS Web.The message "Different basic currency": "The basic currency in the alameen file is …, while the local currency in POS Pro is …. Cannot continue.". The wizard does not open.

If the program cannot get the national currency of POS Web, the wizard does not open either, and a server error message described in Messages may appear.

Window layout​

The window title is "Import data from POS Web". The steps change inside the same window, and each step shows its name at the top.

ElementWhat it shows
Step nameAt the top, such as "Import- Options" or "Accounts Verification".
From and ToThe period of closed shifts. You edit them in the first step only; they appear disabled in the other steps.
Message lineUnder the period: why a step failed, or how many items were added, such as "3 account cards added".
ListThe table of errors or of new items. Its columns depend on the step and are given in each step below.
Progress line and barThey appear while a step works: the item being processed, such as "Customer : name".

Step buttons (the names come from the program's wizard framework):

ButtonWhat it does
Next (Alt+N)On steps without Start: runs the step's check or creation, then moves to the next step if no error appears.
StartOn steps that have this button: runs the step's work. After a step from adding groups to the external operations entries succeeds, Next becomes available.
Back (Alt+B)Goes back one step. It appears only from the groups step to the last step.
CancelCloses the wizard without asking. What earlier steps created stays in the file.

If a step does not complete, the program undoes everything that step wrote and stays on it. A message may not appear: click the button again, and if it fails again, check the shift data in POS Web.

On steps that create accounts, cards or entries, the first click shows the list of what was added and the wizard stays on the step; click Next a second time to move on. If nothing new was added, the wizard moves on without a list. On steps with Start, the wizard always stays on the step; then click Next. You can open a row of the list: double-click it, or right-click it and choose the command, such as "Display Account Card...", to open the account, customer, group, material, invoice or entry. The rows of the store and account checks open "Display Integration Settings...".

Steps in order​

StepButtonSummary
Import- OptionsNextSet the period and the option to skip steps.
Skip steps that contain no errorsStartRun all steps without stopping when they are fine. Appears when the option is ticked.
Tax Settings VerificationNextCompare the tax system of the file with POS Web. Appears if the file has a tax system.
Sync tax settings with POS WebNextSend the tax settings to POS Web. Appears after the tax step.
Stores VerificationStartIs every store with closed shifts defined in the integration settings?
Stores Invoices Settings VerificationNextIs the invoice form of every store valid?
Create missing currenciesNextAdd POS Web currencies that are not in the file and set their accounts.
Accounts VerificationNextCheck the parent accounts of the integration settings.
Create missing accountsNextCreate the accounts of customers, drivers, employees, stores, points of sale and cards.
Create Bank CardsNextAdd new bank cards.
Create Customers CardsNextAdd customer cards and their addresses.
Add Materials GroupsStartAdd new material groups.
Add Materials CardsStartAdd new material cards.
Add sales invoicesStartAdds no invoices in this version.
Add entries of other payment modes for invoicesStartAdds no entries in this version.
Add external operations entries for shiftsStartOne entry for each shift that has external operations.
Add entries of delivery commissionsStartDriver commission entries, and marking the shifts as imported.

The result of each step is saved when the step ends. Everything added gets a name that is not duplicated in the file: if the name exists, the program adds X1 after it, then X2, and so on.

Import- Options​

FieldDescriptionRequiredValues and rules
FromThe first day of the period.YesStarts as the file's "Opening Date".
ToThe last day of the period.YesIt must not be earlier than From, otherwise "End Date must be later to Start Date" appears and the wizard does not move on.
Skip steps that contain no errorsRun the whole import with one click.NoNot ticked when the wizard opens.

The period decides which closed shifts are imported, and everything that belongs to them: customers, materials, invoices and operations. Delivery commissions are fetched for the same period. If the file uses the Egyptian tax system, the period sent to POS Web starts from the subscription date saved in the tax settings of the file instead of From.

After Next the wizard goes to the tax step if the file has a tax system, otherwise to the stores check. If Skip steps that contain no errors is ticked it goes to the skip step.

Skip steps that contain no errors​

This step appears after Next if you ticked Skip steps that contain no errors in the first step. Its name at the top is in Arabic in every language. Click Start and the program runs the following steps in order without showing their lists: the tax check (always, even if the file has no tax system), then the sync if the file has a system, then stores, the stores' invoice forms, currencies, the accounts check, then creating accounts, cards, materials, invoices and entries.

  • At the first step that finds a problem (or does not complete), the program stops, clears the skip option, and opens that step in its normal form so the problem shows. Fix the cause, then go on step by step.
  • If all steps complete, "Data successfully imported" appears and the wizard ends.

The tax check differs here from the normal path. It always runs, so if the file has no tax system but POS Web has one, the problem shows; on the normal path that step is skipped.

Tax Settings Verification​

This step appears if a tax system is active in the file. If the file uses the Egyptian tax system, the wizard treats it as a file without a tax system: this step does not appear, and in the skip step the reason "Tax system is not activated in the alameen file, but it is active in POS Web." appears if POS Web has a tax system. It shows one column, Reason, and the message line "Tax settings differ between alameen file and the Web POS.". The possible reasons:

Reason shownWhen
Tax system is active in the alameen file, but it is not activated in POS Web.The file has a tax system and POS Web has none.
Tax system is not activated in the alameen file, but it is active in POS Web.The opposite (in the skip step only).
Tax system in the alameen file differs from the one in POS Web.Two different systems.
Mismatch between subscription date in alameen file and POS Web.For the Saudi Arabia and Emirates tax systems, when the subscription dates differ.

With any reason, Next is disabled and only Cancel remains: fix the setting in the file or in POS Web, then open the wizard again. For the systems see How tax systems work.

Sync tax settings with POS Web​

This step runs after the tax step if it showed no reasons. The program sends six parts of the file's settings to POS Web in order, and their names show in the progress line: "Sync company information...", "Sync tax types...", "Sync tax codes...", "Sync default values...", "Sync tax agency info..." and "Sync tax customers addresses...". If the service refuses a part, the wizard stays on the step.

Stores Verification​

Click Start. The program fetches the closed shifts in the period and their stores from POS Web.

CaseWhat appears
No store has closed shifts in the period"No stores have open shifts within the specified date range." From and To become editable, but changing them does not change the period. To change the period, close the wizard and open it again.
One or more stores are not defined in the Stores page of the integration settings"Some stores are not defined." and a list with the columns Shop and Type. Define the store in Integration Settings, then close the wizard and open it again before you continue.
All stores are definedThe wizard moves to the next step.

The message says "open shifts", but the import takes closed shifts only. Close the shifts in POS Web before importing.

Stores Invoices Settings Verification​

For each store, the program checks the sales invoice form defined for it. The columns are Shop, Type, Form and The Error. The possible errors are "The invoice is not a sales type." and "Please specify a warehouse.". It also checks the "Output bill of raw materials" and "Input bill of prepared materials" forms if they are set for the store. The other errors: "The invoice is not an Output type.", "The bill price is not "Cost".", "The cost price is not "Cost".", "The invoice is not an Input type." and "The option "Affects Cost Price" is disabled.". One error is shown for each store: fix it and check again to see the next one. The message line is "One or more stores have incorrect settings.". Next is disabled with any error. Double-click the row to open "Display Integration Settings..." and change the form, or edit the form in Define a bill form type, then close the wizard and open it again.

Create missing currencies​

Click Next. The program fetches the currencies of the shifts from POS Web. For each currency that is not in the file (compared by ISO code), it adds a currency with its name, Latin name, part name (such as a cent), number of parts, and exchange rate from POS Web. Currencies already in the file do not change.

After adding, the program checks the foreign currency accounts. If a currency was added, or a foreign currency of the file lacks the three accounts on the Foreign Currencies page of the integration settings, the foreign currency accounts window opens. If you close it without saving, the step stays and the wizard does not move on.

The list columns after adding are Currency, Part, "= Every 1" and Exchange Rate, and the message line is "… new currencies added".

Foreign currency accounts​

The window title is "Foreign Currencies".

The grid is like the grid of the Foreign Currencies page in Integration Settings: Currency (read-only), POS Cash Account, Central Safe Account and Float Cash Account. It shows only the new currencies and the currencies that lack an account. The accounts follow the same conditions.

ButtonWhat it does
Save (Alt+S)If every row shown has its three accounts, it saves the account list of all foreign currencies and closes the window. Otherwise "Must specify accounts for all existing currencies" appears.
CloseCloses the window without saving; the wizard does not move on from the step.

Accounts Verification​

Click Next. The check runs only if there is something to check: a store whose accounts were not created yet, or a currency imported by the wizard that has no accounts created. Otherwise it passes without a list.

The columns are Account (the parent account type), The Error and Currency. The message line is "Account errors detected in the POS Web integration settings.". The errors:

ErrorMeaning
Account not foundThe field is not set in the integration settings, or the account was deleted.
The account is usedIt has movement or another setting in the file uses it. Having sub-accounts does not count as use in this check.

The account types in the list are Customers, POS Cash Account, Float cash, Bank Cards, Employee Cash Drawer, Driver and Delivery Commissions, and for each foreign currency POS Cash Account, Float cash and Central Safe with the currency name. Next is disabled with any error: open "Display Integration Settings..." from the row, fix the account and save, then close the wizard and open it again.

Create missing accounts​

Click Next. The program fetches the customers, drivers, employees, points of sale and bank cards of the shifts in the period, and creates for each what it lacks as sub-accounts under the parent accounts of the integration settings. The accounts are in the base currency unless stated otherwise.

Account createdUnder parentName
Customer accountCustomersThe customer name. The customer's POS Web balance is recorded on the account card without a journal entry: a positive balance as credit, a negative balance as debit.
Driver accountDriversThe driver name.
Delivery commissions account for each storeDelivery Commissions"Delivery commissions in store" then the store name.
Cash account for each storePOS Cash Account"Cash in store" then the store name.
Employee accountEmployee Cash DrawerThe employee name. The program also keeps the employee in the import record.
Cash account for each point of salePOS Cash Account"POS Cash" then the point name.
Float cash account for each point of saleFloat Cash"Cash Float" then the point name.
Bank card accountBank CardsThe card name.
Three accounts for each point of sale and each foreign currency: cash, float cash, central safeThe currency accounts in Foreign CurrenciesThe name above followed by the point name and the currency name.
  • The fixed words ("POS Cash" and so on) follow the Language field; they are Arabic if no language is set.
  • Each account code is the next code under the parent's code. The cards get security level 1.
  • No entry is created in this step.

After creation the new accounts show with the columns Account, Main Account and Type, with "… account cards added". The program also records that the stores' accounts were created, so they are not checked again.

Create Bank Cards​

A bank card is added for each new card in POS Web, with its name and abbreviation. The receipt account is the card account created in the previous step, and the minimum limit and the force verification code option come from POS Web. The columns are Name, Shortcut, Receipt Account, Minimum Limit and Force Verification Code (Yes or No), with the message "… new bank cards added". See Bank card.

Create Customers Cards​

The program first adds the countries, provinces and areas of POS Web that are missing. Then it adds a card for each new customer: name, phone (in the mobile field), email, its account and its default address, with e-mail and message sending options off and security level 1. All the customer's addresses are added (name, area, street, floor, details, P.O. box, postal code, coordinates), and the customer's tax data if POS Web sends it. The columns are Name, Account, Phone and Email, with "… new customer cards added". See Customer card.

Add Materials Groups​

Click Start. A material group is added for each new group, with the next code and its name. The group is created with no parent group. The columns are Name (code - name) and Parent, with "… new groups added". See Group card.

Add Materials Cards​

Click Start. A card is added for each new material: the next code under its group's code, the name, the group, the first unit with the POS Web unit name, the base currency, and tax data if sent. The columns are Name (code - name) and Group, with "… new material cards added". See Material card.

Add sales invoices​

Click Start. In this version the step adds no sales invoices: no list or message appears, and Next becomes available.

Add entries of other payment modes for invoices​

Click Start. This step adds no entries, because the invoices step adds no invoices.

Add external operations entries for shifts​

Click Start. External operations are cash movements that do not come from a sale. For each shift that has them, the program adds a journal entry on the shift's close date with the note "External operations in shift …, store …, POS …, and employee …." and two lines for each operation:

Operation in POS WebDebitCredit
Receive from central cashPoint of sale cashThe store's central cash (or the currency's)
Pay to central cashCentral cashPoint of sale cash
Collect from a customerPoint of sale cashThe customer
Payment to a customerThe customerPoint of sale cash
Employee operationPoint of sale cash or the employeeThe employee or point of sale cash, for a receipt or a payment
Shift balance (float cash)Point of sale cash or float cashFloat cash or point of sale cash
Order down paymentThe card's receipt account, or point of sale cashThe customer
Driver paymentsPoint of sale cash or the driverThe driver or point of sale cash
Delivery commissionThe store's delivery commissions accountPoint of sale cash

Operations in a foreign currency use the point of sale's accounts for that currency. The entry total is calculated and the entry posted. The list has the columns Voucher, Date and Value, with "… entries of external shift operations added". Example: receiving 500 from the central cash debits the point of sale cash 500 and credits the store's cash 500.

Add entries of delivery commissions​

Click Start. For each commission process in POS Web within the period, and each store in it, one journal entry is added on the process end date with the note "Drivers commissions in … store, from date … to date …, process number …". Each driver gets two lines: debit the store's delivery commissions account and credit the driver's account, for the same value. Example: two drivers with commissions 30 and 20: debit the store's delivery commissions account 30 and credit the first driver 30, then debit 20 and credit the second driver 20; the entry total is 50 and it is posted.

When you click Start in this step, the program tells POS Web that the shifts were taken, even if the step does not complete, and POS Web may not offer these shifts in a later import. So check the bills in the file before you click Start here. After adding, the program records the imported shifts in the file. Then "Data successfully imported" appears and Cancel becomes Close. The columns are Voucher, Shop, Date and Value, with "… entries of external shift operations added" as the message line text for delivery commissions.

Messages​

MessageWhy it appearsWhat to do
Connection failed.The connection check failed when you opened the wizard.See Connection Settings.
Different basic currencyThe base currency of the file differs from the national currency of POS Web.The import does not work between different currencies.
تم قفل الجلسة من قبل مستخدم آخرPOS Web answered that the session was closed. It shows in Arabic in every language.Click Connect then Save in Connection Settings, then run the import again.
حدث خطأ في المخدمPOS Web answered with another error. It shows in Arabic in every language.Try again; if it repeats, contact your POS Web provider.
End Date must be later to Start DateTo is earlier than From.Correct the period.
No stores have open shifts within the specified date range.There are no closed shifts in the period.Close the wizard and open it with another period, or close the shifts in POS Web.
Must specify accounts for all existing currenciesSave in the foreign currencies window with a row lacking an account.Choose the three accounts for each row.

This page applies to alameen ERP 10, version 10.1.79.764.