Skip to main content

What alameen does not allow in the designer

The advanced report designer and the preview are standard tools. alameen ERP 10 removes some of their commands and hides some of their properties, because a template reads its data from the company file, is saved in the company file, and is printed from documents of the program. This page lists each removal and each hidden property, says in plain words what it would have done, and gives the alameen way. For the parts of the designer that are available, see Tour of the advanced report designer.

The program does not show the artificial intelligence features of the tool. They are not turned on.

Data sources​

A template has one data source, a SQL Server procedure of the company file. The program creates it and keeps it.

Not availableWhat it would have doneThe alameen way
Add Data Source on the ribbon and in the right-click menusConnect the template to another database, file or query.Choose one of the procedures of the document type with Change Data Source. See Advanced printing data sources. For data that the ready procedures do not return, create a custom data source.
Configure Connection..., Manage Queries..., Manage Relations... and Rebuild Database Schema in the menu of the data source, and the commands that update the schema or request it from the databaseChange the connection, the queries and the links between tables, and reload the columns.For other columns, create a custom data source or change your own procedure. The program reads the columns again each time it opens the template.
Delete, Copy, Cut, Properties and Add to Gallery in the menu of the data sourceRemove or copy the data source, open its properties, or keep it in the report gallery.Replace the source with Change Data Source.
Paste in the menus of component collectionsPaste a copied component into the collection of components of the report.Not needed: the program creates the data source and the parameters.
The report properties DataSource, DataAdapter and XmlDataPathPoint the report to another data object or to an XML file.The same as above: Change Data Source.
The data source properties Queries, Relations, ConnectionName, ConnectionOptions and ConnectionParametersEdit the query text, the table links and the connection.The same as above. The program fills the connection from the open company file each time.
The report property FilterStringFilter the rows of the data with an expression written on the report.Filter in the procedure. For a template that only needs to hide some rows, use a visibility or style condition on a band or a control.

The Change Data Source button appears only when the document type has more than one procedure, that is, after you create a custom data source.

Parameters​

The program fills the report parameters itself, and the user is never asked for values.

Not availableWhat it would have doneThe alameen way
Add Parameter on the ribbon and in the right-click menus; Edit Parameters..., Remove All Parameters and Delete in the parameter menuCreate, change and remove report parameters.Use the parameters the program gives: CurrencyId for most documents, and FirstItemCurrencyId for vouchers. See Data source and parameters. For other values, return them from the procedure, or use an alameen function such as GetUserName().
The report property ParametersThe collection editor of the parameters.The same as above.
Parameters in the preview and in the viewerA panel to enter the values of the parameters before printing.The values come from the document you print.

Language and direction​

Not availableWhat it would have doneThe alameen way
The Localization group of the ribbon, and the report properties Localization and XRLanguageKeep translations of the texts of the template and choose the language that goes with them.Build one template for each language, or one template that tests the language with GetLanguage(). See One template for Arabic and English.
The report property RightToLeftLayoutTurn the right-to-left layout of the report on or off.Tick Right-to-Left Layout in the Save As window, or in the Edit window of the manager. See Template storage, sharing and defaults.
The report property RightToLeft (shown)Make the texts of the report right to left.The program sets it back to No on every save. Use Right-to-Left Layout instead.

Files and the preview​

Not availableWhat it would have doneThe alameen way
The designer commands that start an empty report and open a report fileStart an empty report or open a report file from the computer. They do not work in alameen: the designer does not create an empty report or open a file.Start a new template with the New... button that alameen adds. Bring a file in with Import in the manager.
The file group of the Preview tab of the designerOpen or save a report document file.Save the template in the designer. Export it with the Export button.
Open and Save in the viewerOpen a saved report document or save the one you see.Use Export in the viewer to write the document to a file.
Editing Fields in the preview and in the viewerHighlight the fields of the document that can be edited.Edit the data in the document window of the program, save it, and print again.

Subreports​

Not availableWhat it would have doneThe alameen way
Opening a subreport in its own designer tabEdit the subreport from the report that contains it. Trying to open it does nothing.A subreport holds a copy of the template you chose for it. To change it, open that template from the Print window, edit and save it, then open the main template, select the subreport, choose the template again in the Template box and save the main template.
The subreport properties ReportSource, ReportSourceUrl and ParameterBindings, and Edit Parameter Bindings... in its menuPoint the subreport to a file or a report object and bind its parameters.Select the subreport and use the Template box of its smart tag. Its browse button opens the Select Template window, which lists the templates of the same document type that you own or that are shared. When the program prints, it gives each subreport the same document ID and parameters as the main template.

Summary of the hidden properties​

The Properties panel does not show these properties.

ComponentProperties
The reportRightToLeftLayout, DataSource, DataAdapter, FilterString, Parameters, Localization, XRLanguage, XmlDataPath
The data sourceQueries, Relations, ConnectionName, ConnectionOptions, ConnectionParameters
A subreportReportSource, ReportSourceUrl, ParameterBindings

This page applies to alameen ERP 10, version 10.1.79.764.