Export to an XML file
Export what you need from the open company file to an XML file, then import it in another file.
Before you begin
- Open the company file. The button appears if the licence includes warehouses, and either the standard reports feature or the import and export from files feature.
- You need the permission Export to XML file in Users Management. Without it the button stays visible and nothing happens when you click it.
- Decide what you export: documents by number, documents between two dates, or cards only.
- The export reads the company file and does not change its data.
Steps
- Click the File tab, then Import & Export, then in the group Import and Export Cards and Operations click Export to XML file.
- In the File field type the file path, for example
D:\Export\January.xml, or pick it with the browse button. Use the extensionxml, orzipto get a compressed file. - Click Customize to choose what is exported. Each control is described in The Customize window.
- To export bills by number: leave Export Bills on, and in the bills grid type From and To No for each type you want. Or turn on Export All Bills to let the program fill the whole range.
- To export documents by date: turn on Between Dates, enter From and To, then tick in Report Sources the bill, entry and paper types you need.
- To export cards: in the Export Cards grid choose All or Detected Region in the Export Type column, and with Detected Region type From Code and To Code.
- Choose the bill export type in Type of Bill Export: Detailed to move each bill with its materials, or one of the totals to move amounts only.
- Set what you need in Export Options, then click OK. If a message appears, correct what it says (see Messages).
- Optional: click Save Settings to keep the choices in a file, so you can bring them back later with Load Settings.
- Click Export. If the file exists, choose Yes to replace it. A progress window appears.
- Read the message "Export process is completed successfully to file:" with the path, and check that the file is in the folder. The window closes.
- Copy the file to the computer that holds the target company file and import it with Import from XML file.
Example: to move the sales bills from 1 to 150 with their customers and materials, leave Export Bills and Detailed, type 1 in From and 150 in To No in the sales type row, then OK and Export.
Result
- An XML (or ZIP) file is written with the chosen documents and cards and the other cards they need.
- The program records the counts exported in the operations log, and keeps on this computer the numbers of the last bills and entries exported, for the "from last export" items.
- Nothing changes in the source company file.
If something goes wrong
| Message | When it appears | What to do |
|---|---|---|
| Imported file must be of ZIP or XML format, and it can't be empty | The File field is empty or its extension is not xml or zip. | Type a path that ends with .xml. |
| Please select start and end number for a bill type from CUSTOMIZE button | Nothing in your choices is exported. | Open Customize and choose bills or cards. |
| Please select start bill number | In the types grid From is greater than To No or is empty. | Correct the row. |
| No Previous Export | You chose "from last export" and you never exported from this computer. | Export by numbers once first. |
The full list is in Messages.
Related
This page applies to alameen ERP 10, version 10.1.79.764.