Read Items from File
This window chooses the stock-take file that the stock-count app on a smart device exported (a compressed file with the extension zip). The program then reads the materials and their quantities from it. It is not a window of the POS Pro tab: it opens from the two stock-take comparison windows in Materials, not from the bill windows.
Opening the window
It has no command in the ribbon. You reach it like this:
- Open Stock-take Comparison or Serial Numbers Inventory Comparison.
- In Stock-take Comparison, choose Detail Units in Use Unit. Without it, the source window does not list the smart device programs. In the serial numbers comparison it always lists them, together with the bill reading programs.
- Click Import Stock-take.... The "Reading bill items" window appears, with the Source list and the buttons Setup, Ok and Cancel. It is explained in Read Materials from File and Import a bill from a file or device.
- Choose the smart device program in Source and click Ok.
This window appears after Ok only if the program does not remember a file you chose before, or if that file no longer exists. If the earlier file exists, the program reads it at once without showing the window. To change the file, click Setup in the source window. This window then appears with the last file.
Fields and buttons
| Field | Description | Required | Values and rules |
|---|---|---|---|
| File | The path of the stock-take file. | Yes | Shows the last file the program used. Type the path or choose it with the browse button. Example: D:\Stock\count-2026-03.zip. |
| Browse button | Opens a window to choose a file. | — | Lists files of the type Ameen Android StockFile (*.zip). |
| Button | What it does |
|---|---|
| OK | Checks the file, then closes the window so the program can read it. |
| Cancel | Closes the window without reading. |
On OK the program checks, in order, that File is not empty and that the file exists. If the checks pass, it saves the path so it remembers it next time. Then it opens the file and reads the materials.
What the program reads
For each material, the program reads from the file: its internal identifier, the barcode, the name, its quantities in the three units, whether it is new, and the serial numbers if there are any. A material without a valid identifier is not read. It is counted among the records that were not imported, so it appears in the unknown materials when you import from Stock-take Comparison.
After reading, the comparison window completes the import. It is explained in Importing the stock-take.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| File Name Missing | You clicked OK and File is empty. | Type the path or choose it. |
| The file not found | You clicked OK and the path is not an existing file. | Correct the path. |
| An error encountered while opening the file | The file exists but the program could not read it: it is not a stock-take file of the smart device, or it is damaged or incomplete. | Export the file from the app again, then choose it. |
For the message styles see Messages and callouts.
Related
This page applies to alameen ERP 10, version 10.1.79.764.