Smart lists
Smart lists show records such as customers or materials in one grid. You choose the fields to see, type search conditions, and save the query to reuse it. In some lists you edit records in the grid, or apply one action to several records at once.
Opening the window
The Smart Lists button is the first button on the Quick Access Toolbar at the top of the main window. It appears only while a company file is open. There are two ways to open the window:
- Click the button, or press
Ctrl+L. The window opens on a page with the available lists. - Click the arrow next to the button. It shows the saved queries you ran or saved most recently, up to 15, then the Open command. Choose a query to open the window on it. The query runs at once. Saved queries belong to each user.
The window shows only the lists whose card you may open. The same applies to the recent queries in the arrow: only queries of lists available to you appear.
| List | Permission in Users Management | Notes |
|---|---|---|
| Material | Material Card | You can edit it, add materials and delete them, as far as the card permission levels allow. |
| Customer | Customer / Supplier | You can edit it. See Customer smart list. |
| Manufacture Form | Form Card | View only. |
| Special Offers | POS Special Offer | View only. |
| Devices maintenance | Maintenance Workshop Card | Needs the device maintenance feature in your licence. You can edit and delete its records as your permission allows, but not add records from it. |
| Users Management | Users Management | View only. |
| Groups Management | Groups Management | View only. |
If only one list is available to you, the window opens on it directly, without the selection page.

Tabs
The window opens at 70% of the screen size and has a maximize button. Each list you open gets its own tab, so one window can hold several lists, or the same list with several queries.
| Item | What it does |
|---|---|
| + button on the tab strip | Opens a new tab on the list selection page. |
| Close button on a tab | Closes the tab. Closing the last tab closes the window. The program does not ask about a query you did not save. |
| Dragging a tab | Changes the order of the tabs. |
The list selection page
It appears in a new tab. At the top is a button for each of your recent queries. This row appears only if you have run a query before. Below it is a large button for each list available to you. Click a list to open a new query on it. Click a recent query to open it and run it at once.
After you open a list, the tab title is "list name - query name". A new query gets a temporary name made of Query and a number, such as Query 1. It is not stored until you save it.
Toolbar
| Button | What it does | Shortcut |
|---|---|---|
| Run | Shows the records that match the conditions in the grid. | Enter in a text or number value box |
| New | Starts a new query with the default conditions, keeps the display fields and list options as they are now, and empties the grid. | Ctrl+N |
| Save | Saves the current query. A new query asks for a name in the Save As window, which says Choose Name. | Ctrl+S |
| Rename | Changes the name of the saved query. Disabled for a query not saved yet. | |
| Delete | Deletes the saved query after you confirm, then opens the last query of the list, or a new one. Disabled for a query not saved yet. | |
| Drop-down of query names | Lists your saved queries for this list. Choose one to load its fields, conditions and options. The query does not run until you click Run. | |
| Preview | Shows the grid result in the preview. Disabled until you run the query. | Ctrl+W |
| Prints the grid result. Disabled until you run the query. | Ctrl+P | |
| Edit Mode | Lets you edit cells in the grid. Appears only in a list you can edit. | |
| Allow Add | Shows an add row at the end of the grid. Works only with Edit Mode, and appears only if you may add. | |
| Instant Search | When on, the query runs each time you change a text or number value. After changing a date or a value from a list, click Run. | |
| Show Total Summary | Shows or hides the totals row at the bottom of the grid. On in a new query. | |
| Options | Shows or hides the Options panel. On in a new query. | Ctrl+L |
| Actions | Shows or hides the Actions panel. Appears only in a list that has actions available to you. |
Save stores with the query: the display fields, the conditions with their values, the list options, the state of Instant Search and Show Total Summary, whether the Options panel shows, and Defer Update. It does not store the grid result.
A query opened from the arrow beside Smart Lists, or from the recent queries on the selection page, runs at once. Choosing a query in the toolbar drop-down only loads its settings, without running it.
Conditions
Above the grid there is one row for each condition. Join each condition to the previous one with And or Or.
| Field | Description | Values and rules |
|---|---|---|
| + button | Inserts a new condition before this row. | |
| × button | Deletes this condition. | |
| And / Or | Joins this condition to the one before it. Hidden in the first row. | And or Or. |
| Field | The field to search in. Type part of its name to narrow the list. | The searchable fields of this list. |
| Operation | How to compare. | Its list depends on the field type, see the next table. |
| Value | What to compare with. The control follows the field: date, text, number, a choice list, or a lookup with suggestions. | Disabled for Is Empty and Is Not Empty. |
| Ignore words order | Matches the words wherever they occur, not in order. | Shown only for a text field with Contains or Does Not Contain. |
| Field type | Available operations |
|---|---|
| Text | Equal, Contains, Does Not Contain, Is Empty, Is Not Empty, Starts With, Ends With. The default is Contains. |
| Number or date | Equal, Not Equal, Greater, Greater Or Equal, Less, Less Or Equal. |
| Field with a fixed list of values | Equal and Not Equal. A yes/no field has Equal only. |
When you pick a date field, the program puts today's date as the first value. When you pick a field with a fixed list of values, it puts the first value of the list.
Under the conditions:
| Button | What it does |
|---|---|
| Add new condition | Adds a condition at the end, on the first available search field. |
| Reset | Clears the values of all conditions and keeps the conditions. |
| Delete | Deletes the records selected in the grid from the file. Appears after you run the query, with Edit Mode, in a list where you may delete. |
| Count | The number of rows in the grid result. Appears after you run the query. |
Press Enter in a text or number value box to run the query. In a date box or a list, the key does nothing for the query, so click Run.
Grid

The grid shows the selected display fields. For general grid behaviour see Grid. What is specific to smart lists:
- Click a column header to sort by it, and drag a header to move the column.
- A column shows values by field type: a choice list, date and time, a check box for a yes/no field, or a number in its format.
- A field that has a total shows its sum, minimum, maximum, count or average in the totals row at the bottom. The position and style of that row come from the report options.
- When you select a row that has pictures, they appear in the Picture window if it is open.
- You can select more than one row when the list has actions, or when Edit Mode is on and deleting is allowed. A column of check boxes then appears.
- The row indicator appears while Edit Mode is on.
Right-click menu
Right-click a row. The menu does not appear on the add row.
| Command | What it does |
|---|---|
| Select All | Selects all rows. Ctrl+A |
| Invert Selection | Selects the rows that are not selected and clears the selected ones. The last row does not change, so check it before you apply an action. Ctrl+R |
| List commands | They differ by list and work on the record you clicked. |
| List | Its own commands |
|---|---|
| Customer | View Customer Card..., then View Customer Statement... if you have the Customer Statement permission. |
| Material | View Material Card..., then View Material Movement... and View Daily Movement... if you have their permissions. |
| Special Offers | View Special Offer Card... |
| Manufacture Form | Bill of Materials Card... |
| Users Management | Users Management |
| Groups Management | Groups Management |
| Devices maintenance | Add new maintenance order... for a row that has a type, and Show Maintenance Order... for a row that has a maintenance order. |
Options panel
It appears beside the grid. The two unlabeled buttons at its top expand or collapse all sections.
Display Fields
| Item | What it does |
|---|---|
| Search box | Narrows the field list by part of a name. |
| Field list | Tick each field you want as a column in the grid. The fields ticked by default depend on the list. |
| Defer Update | When on, changing the ticked fields does not run the query, and the grid stays as it is until you click Run. When off and the grid has a result, the query runs again at each change. |
In a list you can edit, the list itself may adjust the ticked fields when you change them, to fit the edit mode.
List options
Below Display Fields are sections that each type of list adds as it needs, such as price types, currency or display switches. Their values are part of the query and are saved with it. Example: Devices maintenance has Show Delivered Orders, Show Canceled Orders and a currency field.
Actions panel
An action applies to all rows selected in the grid and changes the stored data directly. The Actions button shows the panel, and appears only in a list that has actions available to you.
| Item | What it does |
|---|---|
| Operation | Choose the action. Before you choose, the panel says "Select the action from the list above." |
| Action form | Appears after you choose an action, with the fields of that action. |
| Apply | Applies the action to the selected rows. Disabled when no row is selected, or while the program is busy. |
When you click Apply, the program validates the form, then asks "Do you want to apply this action to the selected logs?" with the number of records. It warns that the action runs directly on the stored records and cannot be undone. If you agree, the panel shows "Executing action" with the action name, and a Cancel button that stops the action. When it ends, the query runs again to show the result, unless you cancelled.
Available actions
| Action | Lists | What it does | Permission in Users Management |
|---|---|---|---|
| Replace field value | Material, Customer | Puts a new value in a field you choose. The value box follows the field: text, number, yes/no or security level, or a cost center or a price in the Customer list. | Replace field value on the Smart Lists page |
| Add Text | Material, Customer | Adds text Before or After the current text of the chosen text field. | Add text |
| Replace part of text | Material, Customer | Replaces Old Text with New Text in the chosen text field. | Replace part of text |
| Change Price List | Customer | Sets the chosen Price List for all selected customers. The price list is required. | Change price list |
| Change group | Material | Moves the selected materials to a group you choose. | Change group |
| Modify gifts | Material | Sets Gift and For every for the selected materials. Both must be zero or more. | Modify gifts |
| Modify material price | Material | Changes prices by a type you choose: Operation Type: Multiply by a percent, Multiply by a number, Add specific value, Reduce specific value, Multiply by a unit conversion factor, Modify every price, Modify to price. | Modify material price |
| Select workshop | Devices maintenance | Sets the maintenance workshop of the selected devices, by the order type you choose. | Select workshop |
| Schedule visit | Devices maintenance | Sets the visit date of the selected devices. The date is required. | Schedule visit |
An action does not appear for a user who lacks its permission. After Replace field value, Add Text or Replace part of text, the program applies the action only to the records whose security level you may change. The result message appears after every action except Change Price List and Schedule visit. If it applied to all records, it shows Action successfully applied. If only to some, it shows Action partially applied. In Select workshop, records of the other order type are not changed.
In Add Text and Replace part of text, do not type the single quotation mark ' in the text. The action may fail or give a different result.
Editing in the grid
Turn on Edit Mode to edit cells. Which fields you can edit depends on the list, and the rest are read-only. The program saves the changes of a row to the file when you move to another row.
- To add a record, turn on Allow Add and type in the last row. The program gives the new record the next number after the last one.
- To delete records, select them and click Delete or press
Del. The program asks: "Neither records in use or records that you have no permission on will be deleted, are you sure you want to complete the deletion process?". After deleting, the Customer list shows the number of customers deleted and the number ignored. - The program does not let you edit a record whose security level is higher than your permission level for editing the card.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| The field '…' is required. Please enter an appropriate value. | You left a required field empty in a cell, or in a new or changed row. | Enter a value. |
| … Duplicated | The value exists in another record and the field does not accept repeats. | Enter another value. |
| You have no permission to use the selected security level | You chose a security level higher than your permission. | Choose a lower level. |
| Neither records in use or records that you have no permission on will be deleted... | You asked to delete records. | Confirm to delete, or cancel. |
| Do you want to apply this action to the selected logs? | You clicked Apply. | Click Yes to go on, or No to stop. |
| Action successfully applied | The action was applied to all selected records. | |
| Action partially applied | The action was applied to some records only. | Check your permissions on the other records. |
Preview and print
Preview and Print show the current grid result in a report titled with the list name. It has one table whose columns are the selected display fields, in the same order. Wide columns such as names get more room. Fields that have a list of values print the text of the value, not its code. The preview does not keep workspaces. Its other features, such as export and filtering, are in the viewer.
Related
This page applies to alameen ERP 10, version 10.1.79.764.