admin 發表於 2017-5-29 22:06:42

Report Custom Menu Sample(App75)

This page describe how you define a custom menu that can order a report. Whenyou execute a Report custom menu item it will start the order report dialog withgiven report id and report parameters.
Use Report custom menu items when you want to run a report from apage, that does not have the report as a standard menu item.
Contents
[*]Define the Custom Menu
[*]Specify Report Parameters

Define the Custom Menu
[*]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 CustomMenu window. In the column Source key name youenter the view column name used in window where you have the custom menu. In thecolumn Destination key name you enter the viewcolumn name that is defined as report parameters in the report view.
There are some different ways to find report column names and the window viewcolumn names. This is only one way of doing it. The report parameters are foundin the report source code file. The columns that have view comment QFLAGS arethe report parameter. It is also possible to find the report parameters usingthe debug console when opening the Order Report dialog. View the detail result of server invokeExploreReports.GetReportProperties. The record response holds the reportparameters. The corresponding database column name is found in the client windowsource code file using F1 properties dialog on that window.



頁: [1]
查看完整版本: Report Custom Menu Sample(App75)