Skip to main content

Manage advanced reports

The Advanced Reports Management window lets you organize the advanced templates in the file: rename a template and share it, duplicate it, delete it, and move it to another file with export and import. The example uses a "Sales Invoice" template in the Alwaha Trading file.

Before you begin​

  • The file must have at least one template. The window toolbar appears once the file has a template. Designing the first template is in Design an advanced report.
  • You do not design the template here. Design is from the advanced print window or from the print settings. See the designer and viewer.
  • The window shows your templates and the templates others have shared. You can edit and delete any template you see.

Steps​

Open the window​

  1. Click Management > Procedures > Advanced Reports Management.

    The templates appear as cards with pictures. To switch to a table, click Details View at the bottom of the window. You can filter with the Search button, and group by type or sharing with the Grouping list.

Change the name and sharing​

  1. Select the template, then click Edit.

  2. Change the Name if you want. Tick Shared so the other users can see it and print with it, or clear the tick. Tick Right-to-Left Layout if the template prints in that direction.

  3. Click Ok.

    The template updates in the list. Its design does not change.

Duplicate a template​

  1. Select the template, then click Create a Duplicate.

  2. Accept the suggested name "Sales Invoice 1" or type another name. Change the two options if you want.

  3. Click Ok.

    The copy appears in the list with the same design, so you can edit it in the designer without touching the original.

Delete a template​

  1. Select one or more templates. To select several, click with Ctrl held down, or click Select All.

  2. Click Delete, then Delete All in the confirmation window.

    The template is permanently deleted from the file and cannot be retrieved.

Export a template to a file​

  1. Select one template, then click Export.

  2. In File Path, keep the suggested path on the desktop, or change it.

  3. Tick Export Data Source Code if the template reads from a data source that you added and that does not exist in the file you will import into.

  4. Click Ok.

    The program saves a file with the extension .amnarx, and beside it a .png picture of the template with the same name.

Import a template from a file​

  1. Click Import.

  2. Click the link "Please select the file you want to import", or the browse button, and choose an .amnarx file.

    The template data and its picture appear. If errors appear in the list, read them: Ok stays disabled until they clear. Their meanings are in Messages.

  3. Change the Name if it is already used. Tick Shared or Right-to-Left Layout if you want.

  4. If the option Replace the data source if it exists appears and you know the data source exists in your file, clear its tick: with the tick, an error from SQL Server appears and the template is not imported. If you clear it, the program uses the existing source. Details are in Import.

  5. Click Ok.

    The template is added to the list and is yours. If the file has the code of a data source that you do not have, the program creates it in the file.

Result​

The list of templates that users choose from when printing changes: what you deleted does not appear, and what you duplicated or imported does. Every user of the file can see, edit and delete a shared template.

If you delete the template a user had chosen for a type of document, then at their next preview the Print window appears for them to choose another template.

If something goes wrong​

MessageWhy it appearsWhat to do
The template name is already in use. Choose another nameAnother template of the same type uses the name, even if it belongs to another user and is not shared.Type another name.
The template name is invalidYou left the name empty in the import.Type a name.
Errors in the import list (such as "The data source does not exist")The file does not carry the data source code, or the code is not valid.Export the template again with Export Data Source Code.
An error from SQL Server on importThe data source already exists in the file, and you left Replace the data source if it exists ticked.Clear the tick and import again.
You do not see a template a colleague createdThey did not tick Shared.Ask them to share it, or to export it for you.

This page applies to alameen ERP 10, version 10.1.79.764.