Skip to main content

Export a bill to a file

Use these steps to save the items of the open bill in a file. You use it to move the items to another file of the program, or to open them in Excel. The export does not change the bill, the stock or the accounts.

The example uses the standard source, and the end of the page shows what differs with the other sources.

Before you begin​

  • Open the bill, saved or not. The program exports the items shown in the grid.
  • You need the Export Bill Using Commands of Bill Grid Menu permission (under Operations in Users Management).
  • Decide the folder where you save the file, and make sure that you can write in it.

Steps​

  1. Right-click a row number in the bill grid and choose Export Bill (or press Ctrl+S). The "Saving invoice items" window appears.

  2. From the Source list choose the description "Standard Export File Driver".

  3. Click Setup. The "Export Bill" window appears. Its fields are explained in Standard file.

  4. Type D:\Export\bill-export.txt in File, and click Ok. If the file exists the program asks whether to replace it, so click Yes to replace it. The program saves the name.

  5. Click Ok in the "Saving invoice items" window. The program writes the file, and the message "Successfully exported to file:" appears with the path. Click Ok and the window closes.

Result​

The file has the bill items with the materials, groups and currencies that belong to them, and the standard import source can read it in another file of the program. What it writes is detailed in Standard file.

The next times, Ok in the source window writes the same saved file at once and replaces it without asking. To change the file, click Setup first.

With another source​

Steps 1, 2 and 5 are the same. What changes between them:

  • Excel 2013 ("Export File Driver(Excel 2013)"): click Setup, type the name of an xlsx file, tick in the tabs the fields you want in the sheet, and arrange them with the arrows of the window. After the writing the program asks whether you want to open the file. It is explained in Fields.
  • DataMax ("Export To DataMax Printer Driver"): always click Setup before Ok, and choose the design and the fields. The program prepares a label data file and runs the label library if it exists. It is explained in DataMax.
  • To export an entry, use the Export Entry command in the entry grid. It is explained in Bill export drivers.

If something goes wrong​

MessageWhy it appearsWhat to do
"No quantity found for the materials, cannot export"The bill has no items.Enter items, then export.
"File Name Missing"You clicked Ok in the source window and the path is empty.Type or choose the path.
A question with only the path of the fileThe file exists. The question has no text before the path.Yes replaces the file, and No returns you to the window.
A message with only the path of the fileCreating the file or writing in it failed.Check that the folder exists and that you can write in it.

The other messages are in Messages in the page of the source windows.

This page applies to alameen ERP 10, version 10.1.79.764.