Sync an online store
You sync a store linked to your file in one of two ways: you import its orders as sales invoices, or you export your material cards to it. Each way has a wizard with pages that show what is about to happen before you start. At the end you review what was not imported in the import log.
Before you begin
- Link the store first: Link an online store.
- Ask the system administrator about the permissions: Import Bills for importing, and Export Materials and Warehouses for exporting.
- For importing: link the store's products to the file's materials before you import, because an order that contains an unlinked material is not imported. Use the Link Products button, or export your materials to the store. See Link Products dialog. In Shopify, link the file's warehouses to the store's locations by exporting the warehouses first.
- For exporting: choose the store on the Online Stores page of the card of each material you want to export and save the card. See Link a material to an online store. To export one material only, the Export button in its card is enough.
Steps
Import invoices
- Click File > Online Stores, and select the store.
- Click Sync. The first page opens and connects to the store. If an error message appears, correct it and click Connect.
- On the Select Sync Type page choose Import Bills, and click Next.
- On the Request Data from Store page check From and To. By default it starts from the last import and ends today. Click Request Data.
- Wait until the grid fills. Check the Status column. An order with an error mark is not imported, so click it to read the reason. If the reason is an unlinked material, link it, then click Request Data again.
- Click Next. The Import Orders page lists only the orders without errors.
- Click Start. Do not close the window while it runs.
- When the message "Operation completed successfully" appears, read the numbers of successes and failures. Click Ok, then Close.
Export material cards
- Click File > Online Stores, select the store, then click Sync.
- On the Select Sync Type page choose Export Materials Cards, and click Next.
- On the Export Options page choose All products or Specific products (and add the groups or materials), and choose what is exported of the pictures. Click Next.
- The Prepare Materials Cards page prepares the list by itself. It shows the materials that need to be created or updated. Check Status: a material with an error mark is not exported. Click Next when the preparation ends.
- On the Export page click Start.
- When the message "Operation completed successfully" appears, read the numbers of successes and failures, and click Close.
Review the import log
- Select the store on the Online Stores page and click Import Log.
- Choose an import from Import Operations. Unimported bill details shows its orders that were not imported and the reasons.
- Click Export to save the operation in an Excel file, or Close.
To make the sync automatic, choose Scheduled in the store settings. See Scheduled syncs.
Result
- Import: for each order without errors the program creates a sales invoice (and a sales return invoice for Shopify returns) in the type set in the link settings, with the customer, customers account and warehouse set there. The effects of the invoice on accounts and stock follow the settings of its type. The program updates the warehouse balances in the store. The operation is recorded in the import log, and the store row shows the time of the last sync.
- Export: materials are created or updated in the store with the data saved on the Online Stores page of their cards, according to the export fields set in the store settings.
If something goes wrong
| Message | Why it appears | What to do |
|---|---|---|
| No Orders to import! | There are no new orders in the period. | Widen From and To. |
| Unknown product (…) | The order's product is not linked to a material in the file. | Link it with the Link Products button, then request the data again. |
| Payment Method is undefined! or Payment method: … has no valid mapping! | In WooCommerce: the order's payment method is not linked. | Add it in Payment Methods in the store settings. |
| Store default currency does not match file default currency! | The store's currency is not the first currency of the file. | Make them match. |
| The operation is currently being executed by another user. Do you want to request an abort of the current operation? | Another user or the scheduler is syncing the same store. | Wait until it ends, or click Yes to request an abort. |
| An error occurred while importing orders. | The import failed and the window closed. | Open Import Log and review the reasons. |
The list of all messages is in Import from store.
Related
This page applies to alameen ERP 10, version 10.1.79.764.