This page describe how you define a custom menu that can order a report. When you execute a Report custom menu item it will start the order report dialog with given report id and report parameters.
Use Report custom menu items when you want to run a report from a page, that does not have the report as a standard menu item. Contents
Start IFS Base Server Administration tool (Admin.exe) and open the window: Configuration/Custom Menu/Custom Menu.
Press New.
Enter the window where you will use the custom menu.
Enter an ordering.
Set Action Type to Report.
Enter the name of the report to be executed in the Parameter field. The name is the report view name to be executed. The report view name can be found and searched for in the List Reports feature. To open the List Reports feature you start IFS Enterprise Explorer and navigate to: Info Services/List Reports using the navigator.
Presentation object will be added automatically. The user must be granted to the PO to be able to run the custom menu item.
Press the Save button to save the custom menu header.
Enter the menu text. The menu text is the name of the menu for a given language code.
Specify Report Parameters
Go to the Key Translations tab in the Custom Menu window. In the column Source key name you enter the view column name used in window where you have the custom menu. In the column Destination key name you enter the view column name that is defined as report parameters in the report view.
There are some different ways to find report column names and the window view column names. This is only one way of doing it. The report parameters are found in the report source code file. The columns that have view comment QFLAGS are the report parameter. It is also possible to find the report parameters using the debug console when opening the Order Report dialog. View the detail result of server invoke ExploreReports.GetReportProperties. The record response holds the report parameters. The corresponding database column name is found in the client window source code file using F1 properties dialog on that window.