Report parameter forms
This page shows the windows from which smart reports take their conditions. They are also the windows of some commands that ask for data before they run. It also explains the special fields that repeat in these windows. You find the fields of a report itself on the page of that report.
Opening the window
- The conditions window: appears when you click the button of a smart report or a dashboard on the ribbon, or a tile on the desktop.
- The small conditions window: appears inside the viewer when you choose a workspace that requires values you did not fill.
- The form window: appears with the commands of some modules that ask for data before they run, such as generate entry, exchange differences, rounding balances and stock take bills.
The windows need no permission of their own, but they show what your report permissions allow. The order of the fields in the conditions window depends on two options in Report Options: Dialogs Layout (Standard or Ameen) and Dialogs Form Layout (Standard, Tabs or Extended Tabs). See Report options.

The conditions window
The title of the window is the name of the report, with its icon beside it. Its size is fixed and cannot be changed, and it follows from its fields. It shows the fields that the report defines, arranged in groups or tabs.
The top bar
| Element | What it does |
|---|---|
| Workspace | A list of the saved workspaces of this report, with None. Choose a workspace to open the report in its saved look. The list is disabled if there are no saved workspaces. When you choose a workspace, the options that change the columns take the workspace value and are disabled. A field that changes the columns by being filled (such as account or customer) stays available for you to fill if it was filled in the workspace, and is emptied and disabled if it was empty. The saved options button is disabled. This list does not appear in the conditions window of a dashboard. |
| The saved options button (Saved Options) | Shows the name of the current options, and restores them when you click it. If no options are chosen, it brings back the original values. Its arrow opens the options list. |
| Help | Opens the help page of this report. Appears if the report has a help page. |
Short explanation bubbles, with their numbers beside them, appear about a second after you open a conditions window for the first time. They introduce the workspaces, the saved options and the help, and then the Summaries button if the report has one. Click Next to continue, or Skip to close them. The last bubble has Close instead. If Next does nothing, click Skip. The program records that you have seen the tour only when you click Skip or the final Close. If you click outside the bubble it closes and returns when you open any conditions window after that. The record is kept for each Windows user and is shared by all conditions windows. To see the tour again, click Help > Help > Quick Tour on the ribbon.
The buttons
| Button | What it does |
|---|---|
| Preview | Checks the fields and opens the report in the viewer, and the window disappears until you close the viewer. |
| Summaries | Shows the totals of the report without the details. Appears with the reports that support it. |
| Prints the report without showing it. Shows if you have the Print reports permission; it does not show in dashboards. | |
| Export | Exports the report without showing it. Shows if you have the Export Reports permission; it does not show in dashboards. |
| Cancel | Closes the window. |
The report may add buttons of its own, which appear beside these buttons or above them, depending on Dialogs Layout. In the Ameen layout the buttons appear as a column beside the fields, and in Standard as a row under them, or beside the other buttons when the report adds one or two and the window has several groups.
When you click Preview, Print, Export or Summaries, the program checks the fields: if one has an invalid value, it goes to that field. For the date range an error mark appears on the field and no message box shows: point at the mark to read the reason. For other fields a message appears. If a required sources list has nothing selected, it shows a message and returns to the list. The report itself may then refuse the conditions with a message of its own, and the window stays open.
The saved options list
Saved options are names under which you save the values of the fields of the window, to bring them back with one click. They are saved for you alone and for each report separately. The list opens from the arrow of the button:
| Item | What it does |
|---|---|
| The option names | Every name you saved. Click a name to put its values in the fields. |
| Default | Brings back the original values of the fields as they were when the window opened, before the last saved options were applied. The window opens with the original values after that. |
| Save | Saves the current values in the current options. If you have not chosen options, it opens Save As. |
| Save As... | Asks for a new name and saves the current values under it. The program does not accept a name that exists. |
| Manage... | Opens the list of options for renaming and deleting. |
The options save the values of all the fields of the window. The period is saved by name: This Month to Date is worked out again each time, and the two dates themselves are kept only with Custom. The window opens with the last saved options you chose for the report. It also opens with the last workspace you used for this report, if Restore last used workspace when opening report is on. To use saved options, first choose None in the Workspace list.
With Manage... the window turns into a list of the saved options, with a check box beside each name, and above it:
| Button | What it does |
|---|---|
| Rename | Changes the name of the selected options. Works when one name is selected, and does not accept a name that exists. |
| Delete | Deletes the selected options after you confirm. Works when at least one name is selected. |
| Close | Returns to the fields of the window. |
The small conditions window
It appears in the viewer when you choose a workspace that saved a value for a field that changes the columns of the report, and you did not fill that field in the conditions window. Its title is the name of the workspace, its text is "Workspace requires the values of the following fields:", and under it are only those fields. The Ok button is disabled until you fill them all, and then the program applies the workspace with your values. Cancel withdraws the choice of the workspace.
The form window
A simple window that asks for some values before a module carries out its command. It has the fields of the command, an Ok button and a Cancel button, and extra buttons if the command has them. It has no workspace and no saved options. Clicking Ok works unless the command rejects the values you entered, and then the window stays open.
The saved conditions field
Some reports show it so you can set conditions on one kind of data, such as customer conditions, save them under a name and reuse them. The field has a list of the names of the saved conditions, the first of which is None, and under it a conditions editor that shows the chosen conditions. When you choose None, the editor is disabled.

| Button | What it does |
|---|---|
| New | Creates an empty set of conditions under a name you type, and chooses it. Its arrow has Duplicate Current Item. |
| Duplicate Current Item | Copies the conditions shown to a new name you type. |
| Save | Saves your edits in the chosen conditions. Works when you edit something. |
| Rename | Changes the name of the chosen conditions. |
| Delete | Deletes the chosen conditions after you confirm, and the field goes back to None. |
| Edit in Popup Window | Opens the conditions editing window. |
| The collapse arrow | Collapses and expands the editor, if the report allows it. |
The buttons Rename, Delete, Duplicate Current Item and Edit in Popup Window are disabled when you choose None. If you have no permission to add, edit or delete these conditions, the message "You do not have permission." appears. It also appears on Duplicate Current Item without the add permission, and Rename and Edit in Popup Window need the modify permission. Without it you can still edit in the window and preview with the temporary copy. In some windows the field appears in a short form: the list and an edit button only.
If you edit the conditions and click Preview without Save, the program uses a temporary copy named like the conditions with * after it, and deletes it when the window closes. The saved conditions do not change. Others may see this copy in their list while your window is open.
The editor shows the conditions in groups joined by "and" or "or". Each condition has a field, an operation and a value. Some operations are not available in this editor, such as "between" and "any of".
The conditions editing window
It opens from Edit in Popup Window so you can edit the conditions in a larger window. Its title is the field caption and then the name of the conditions, and you can maximize it. It has the same conditions editor, and the buttons Ok and Cancel. Ok moves your edits to the field, and they stay "unsaved" until you click Save.
The date range field
It has a list of periods and two fields: From and To.

- Choose a period from the list and the program puts in the start and end dates. The list shows the two dates beside each period, and Custom is first.
- In Trial Balance and many other reports, From starts as the beginning of the accounting period, or as the first day of the current month if you turn off the option "Start Date" is beginning date in Program Options. To starts as today's date. The program names the period from the two dates, so when the period begins on 1 January the name is This Year to Date. The window opens with the last saved options you chose for the report, so the period may differ.
- If you change one of the dates by hand, the period name moves to the matching period if there is one, and otherwise to Custom.
- The two fields are calendar fields, or text fields with the Hijri date if the Hijri date is the main date in Program Options > Language.
| Period | From | To |
|---|---|---|
| Custom | What you type | What you type |
| Today | Today | Today |
| Yesterday | Yesterday | Yesterday |
| This Week to Date | The first day of the week | Today |
| This Month to Date | The start of the month | Today |
| This Quarter to Date | The start of the quarter | Today |
| This Year to Date | 1 January | Today |
| Last Week | The first day of the previous week | Its last day |
| Last Week to Date | The first day of the previous week | Today |
| Last Week to Same Date | The first day of the previous week | The same day a week ago |
| Last Month | The start of the previous month | Its end |
| Last Month to Date | The start of the previous month | Today |
| Last Month to Same Date | The start of the previous month | The same day a month ago |
| Last Quarter | The start of the previous quarter | Its end |
| Last Quarter to Date | The start of the previous quarter | Today |
| Last Quarter to Same Date | The start of the previous quarter | The same day three months ago |
| Last Year | First day of the previous year | Last day of that year |
| Last Year to Date | First day of the previous year | Today |
| Last Year to Same Date | First day of the previous year | The same day a year ago |
| Opening Date to Date | The opening date of the accounting period | Today |
The first day of the week is the day you chose in Week start in Program Options > Language. Quarters and years here follow the Gregorian calendar.
Checks: the start date must be less than or equal to the end date, and you must type each date in the format the field shows. If not, an error appears in the field and the command does not run until you correct it.
The currency value field
It appears with the currency field in reports that convert amounts. Both fields appear only if the file has more than one currency. It has two boxes that show the same rate in two ways:
| Box | What it holds |
|---|---|
| The first | The exchange rate of the chosen currency. It has the button Default Value, which brings back the rate of the currency registered in the program. |
| The second | The inverse of the rate, that is one divided by the rate. Changing one box calculates the other. |
When you change the currency, the program puts in its registered rate. The number of decimals is the one set for exchange rates in the program, and the smallest possible value is the smallest unit of that precision. If you change the value by more than twenty percent from its value before the edit, the field is marked with a warning. The warning does not stop the report.
The report sources list
A list of the movements the report calculates from, arranged in groups such as Bills, Vouchers, Journal Entry, Commercial Papers, Standard Bills, Sales Orders, Purchase Orders, Transpositions and Shipping. You see only the sources your permissions let you browse, and the report may limit its sources.

- Tick each source you want, or Select All for all the sources. Select All is at the top of the list, under its tools.
- Choose a group from the Forms group field at the top of the list, if it appears, and the program selects the sources of that group only.
- The shape of the list and what it shows change from Options:
| Element | What it does |
|---|---|
| Search | Shows a box to filter the list by part of a name. Works in the List view. |
| Expand All and Collapse All | Expand or collapse the groups. Work in the Tree view. |
| Options > View Type | List or Tree. |
| Options > Expand Mode | Single (one group open) or Multiple. Appears in the tree view. |
| Options > Show | Group Name and Bill Type, to show them beside each source. |
The selected sources are included in the saved options with the other fields of the window.
The option list
This list shows the conditions of the report in the viewer or in a dashboard instead of the conditions window, so you can edit and apply them without closing. Some conditions may not appear in it, and each report page says which. It appears in the viewer from Home > Option List, and in a dashboard from the Option List button, but without the save button.
| Element | What it does |
|---|---|
| The save button (in the report viewer only) | Saves the fields shown in the list in the current options. Its arrow shows the option names with a mark beside the current one, Default, Save As... and Manage.... Choosing a name or Default applies the values at once and runs the report again. |
| Expand All and Collapse All | Expand or collapse the groups of fields. |
| Apply | Checks the fields, but not the date range or whether a source is selected, then runs the report again with their values. |
Saved options here differ from the conditions window. The options you chose in the conditions window are not taken over, so no mark appears beside them and the save button opens Save As until you choose a name here. Default brings back the values the list had when it opened. Choosing a name or Default runs the report at once. Saving from the list keeps only the fields it shows, so the values of the other fields are lost from those options. Options that change the columns of the report are disabled in the list while a workspace is in use, and after Refresh or Apply; to change them, close the viewer and use the conditions window. The fields appear in groups that you can collapse. If the report has no fields, the line "No options." appears.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Please enter a valid value in '...' | A field other than the date range is invalid when you click Preview, Print, Export or Summaries. | Correct the field named in the message and try again. |
| Please select at least one report source. | You selected no source in a required sources list. | Select at least one source. |
| Selected workspace requires a value for the following field '...'. | You chose a workspace that holds a value for a field you did not fill. | Fill the field named in the message. |
| Workspace requires the values of the following fields: | Appears in the small conditions window. | Fill the fields shown and click Ok. |
| Start date must be less than or equal to end date. | The start date is after the end date. The text shows in a tooltip on the error mark of the field, not in a message box. | Correct the date. |
| End date must be equal to or greater than start date. | The end date is before the start date. The text shows in a tooltip on the error mark of the field. | Correct the date. |
| Invalid date format | You typed a date in a format the field does not accept. The text shows in a tooltip on the error mark of the field. | Type the date in the format shown. |
| An error window about the exchange rate | You changed the exchange rate by more than twenty percent. | Close the error window and check the rate, or click Default Value. The report still runs. |
| You do not have permission. | You have no permission to add, edit or delete in the saved conditions field. | Ask the system administrator for the permission. |
| No options. | There are no fields in the option list. | Nothing. |
| No printers found. | You clicked Print and no printer is installed in Windows. | Install a printer, or use Export. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.