Document search results
This window shows the documents that matched the search rules. It lets you view a document, open the record it is attached to, export the results to Excel, and export the files of the documents to a folder on your computer. To set the search rules see Search in attached documents window.
Opening the window
The window opens with the Search button in the search window and from nothing else. Its title is Document search results. When it opens, the program runs the search with the current rules and lists the documents from the oldest to the newest by creation date. A document that your two view permissions do not allow does not appear in the results (see Permissions).
Commands
| Command | What it does |
|---|---|
| View | Opens the selected document read-only in the document window. If you lack the permission, "You have no permission" appears. If the document was deleted after it appeared in the results, "Requested document not found" appears. |
| View arrow > View source | Opens the record the document is attached to, in its own window. See View source. |
| Export > Export documents | Opens the Export documents to folder window. |
| Export > Export results to Excel | Saves the grid in an Excel file. See Export to Excel. |
| Refresh | Runs the same search again and shows the current results. Always available. |
View and View source are not available until you select a document. Export documents is not available if there is no document in the results. Clicking Export opens the list of the two commands. Clicking View runs the view, and clicking its arrow opens View source.
Right-click a row for the menu: View and View source, then Export documents and Export results to Excel, then Refresh. Double-clicking a row runs View. When you select a row the program shows the data of the document in the information window if it is open.
The button at the bottom of the window is Close.
Grid columns
| Column | Content |
|---|---|
| Name | The name of the document. |
| Latin Name | The Latin name of the document. |
| Date created | The date the document was added. |
| Document Type | The name of the document type. |
| Files Count | The number of files in the document. |
| Size (KB) | The sum of the sizes of the files of the document, in kilobytes. |
| Document Source | The name of the type of the record the document is attached to, such as the name of an invoice form. |
| Document Number | The number of the record the document is attached to. The cell is empty for some kinds of records, among them commercial papers, balance reconciliations, credit and debit notes, shipping, sub asset cards and contact cards. |
At the bottom of the grid are the number of documents under Files Count and the total of their sizes under Size (KB). You can group the grid by dragging a column header to the group panel above it. The grid sorts and filters like any grid. See Grids.
View source
The command opens the window of the record the document is attached to, according to its type: invoice, transposition, voucher, journal entry, commercial paper and order, the cards of material, customer, account, cost center, form, manufacturing operation, production plan, special offer and contact, balance reconciliation, and the profit center shipments and their direct purchases. The command does nothing for documents of credit notes, debit notes, shipping and sub asset cards.
Export to Excel
The command opens a save-file window with the file type xlsx. After you choose the name, the program writes the results grid into an Excel file and then opens it. If you cancel the save window, nothing happens.
Export documents to folder
This command saves the files of all the documents shown in the results, not only the selected ones, into a folder you choose. The window is titled Export documents to folder.
| Field or button | Description | Required | Values and rules |
|---|---|---|---|
| Export to | The folder the files are written to. | Yes | You do not type in it. You click the button inside it and choose the folder in a folder window titled "Select a folder to export documents to it.". |
| Progress bar | The number of documents exported out of the total. | — | It shows only during the export. |
| Export | Starts the export. | — | Disabled until you choose a folder, and after the export starts. |
| Close | Closes the window. | — | Disabled during the export. |
The export works like this:
- The program checks that the folder exists. If not, "Folder not found" appears.
- It creates a subfolder in the folder for every document, named after the document, or after its Latin name if it has one and the interface is English. The program replaces every character of
/ \ : * ? " < > |in the name with a dash-. The subfolder is created even for a document that has no files. - It writes every file into the subfolder with its name and extension.
- If a file with the same name already exists in the subfolder, the window that asks what to do with the file appears, and your answer applies to that file.
- When it finishes, the program opens the folder in Windows and closes the window.
If the export fails, a message with the text of the error and its technical details appears, and the window stays open.
A file already exists in the folder
The window is titled File Export. It holds the question "There is a file with the same name in this location. What do you want to do?" and the file name under it. It has no confirmation buttons at the bottom.
| Option | What it does |
|---|---|
| Export and replace | Replaces the file in the folder with the exported file. |
| Skip | Changes nothing, and the existing file stays. |
| Export, but keep both files | Saves the exported file under a new name, adding a number between brackets to its name: (2), then (3), until it finds an unused name. |
| Do this for the next conflicts | A check box. If you turn it on, the program does not ask about the other existing files and applies your choice to them. Its effect ends when the export ends. |
If you close the window without choosing, Export, but keep both files applies.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| You have no permission | View on a document your permissions do not let you view. | Ask for the permission. |
| Requested document not found | View on a document deleted after it appeared in the results. | Click Refresh. |
| Folder not found | Export and the chosen folder no longer exists. | Choose another folder. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.