Skip to main content

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​

CommandWhat it does
ViewOpens 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 sourceOpens the record the document is attached to, in its own window. See View source.
Export > Export documentsOpens the Export documents to folder window.
Export > Export results to ExcelSaves the grid in an Excel file. See Export to Excel.
RefreshRuns 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​

ColumnContent
NameThe name of the document.
Latin NameThe Latin name of the document.
Date createdThe date the document was added.
Document TypeThe name of the document type.
Files CountThe number of files in the document.
Size (KB)The sum of the sizes of the files of the document, in kilobytes.
Document SourceThe name of the type of the record the document is attached to, such as the name of an invoice form.
Document NumberThe 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 buttonDescriptionRequiredValues and rules
Export toThe folder the files are written to.YesYou 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 barThe number of documents exported out of the total.—It shows only during the export.
ExportStarts the export.—Disabled until you choose a folder, and after the export starts.
CloseCloses the window.—Disabled during the export.

The export works like this:

  1. The program checks that the folder exists. If not, "Folder not found" appears.
  2. 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.
  3. It writes every file into the subfolder with its name and extension.
  4. 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.
  5. 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.

OptionWhat it does
Export and replaceReplaces the file in the folder with the exported file.
SkipChanges nothing, and the existing file stays.
Export, but keep both filesSaves 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 conflictsA 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​

MessageWhy it appearsWhat to do
You have no permissionView on a document your permissions do not let you view.Ask for the permission.
Requested document not foundView on a document deleted after it appeared in the results.Click Refresh.
Folder not foundExport and the chosen folder no longer exists.Choose another folder.

This page applies to alameen ERP 10, version 10.1.79.764.