設為首頁收藏本站

艾歐踢論壇

 找回密碼
 立即註冊

QQ登錄

只需一步,快速開始

搜索
熱搜: 活動 交友 discuz
查看: 982|回復: 0
打印 上一主題 下一主題

Quick Report Custom Menu Sample (app75)

[複製鏈接]
跳轉到指定樓層
樓主
發表於 2017-5-29 22:12:06 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
Foundation1 / Configuration Guide / User Experience / Admin Configure Custom Menues / Quick Report Custom Menu Sample / This page
[url=][/url][url=][/url][url=][/url]


Foundation1 Configuration Guide - Configure User Experience - Configure  Custom MenusQuick Report Custom Menu SampleThis page describe how to create a custom menu that executes a quick report.
This information is useful when you add a menu item that runs a quick report.
[url=]!2009-12-08[/url] Page added.
ContentsDefine 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         Quick Report.
  • Check the Bundle Execution checkbox. By         default Bundle Execution is unchecked.         
    [url=]!2012-02-26[/url]          Explanation updated Bundle execution means that one to many         selected rows are used as input values to a quick report. Bundle execution         is only possible in tables, where you have the option to select several         records and launch the quick report. The         section Quick         Report Custom Menu using Bundle Execution explains how to use this         functionality.   
  • Enter the name of the quick report to be executed in the         Parameter field. The name is the number         that identifies a quick report. The quick report number can be found in         the Quick Report feature. To open the         Quick Report feature you start IFS Enterprise         Explorer and navigate to: Info Services/Quick         Reports using the navigator. Select the quick report, choose menu         item Show Details and you will navigate to         the Quick Report feature. The quick report         number is appended to the value of the Presentation         Object field. For example "repQUICK_REPORT183" is quick report number         "183".
  • 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 ParametersEnter the report parameter in the Key Translations tab. The report parameters are the substitution variables within the sql  expression of the quick report. The value to map to the report parameter is the  corresponding database column name in the window where the custom menu is used.
Quick Report  Custom Menu using Bundle ExecutionCustom menus of type Quick Report that  support bundled execution, requires a Sql quick report. The sql where statement  on the quick report must use the IN operator. It shall look like the following  example:
SELECT * FROM IFSAPP.SUPPLIER_INFO WHERE (SUPPLIER_ID, NAME) IN ([&SUPPLIERVALUES])
The where statement above have a substitution variable (quick report  parameter) which is surrounded by square brackets. The square brackets indicate  that it is an expandable report parameter and the syntax will slip through sql  parser validation.
In the custom menu window you specify the columns that shall be used as  values in the substitution variable in the where statement. That is a dynamic  value list that expands depending on how many rows you have selected when  executing the custom menu. It will look like this in the custom menu form:


Source Key Names stores the column(s) to use in the window for the custom menu.
Parameter stores the QR parameter (substitution variable) to use. The tab Expandable  Parameter will only be enabled when the checkbox Bundle Execution is checked.
When the quick report is executed the substitution variable  will be replaced with the column values of the select rows in the window of the  custom menu. The sql will for example look like this if the custom menu was  executed on two selected rows:
SELECT * FROM IFSAPP.SUPPLIER_INFO WHERE (SUPPLIER_ID, NAME) IN (('1','SUPPLIER 1'),('2','SUPPLIER 2'))  

本帖子中包含更多資源

您需要 登錄 才可以下載或查看,沒有帳號?立即註冊

x
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 轉播轉播 分享分享 分享淘帖
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

小黑屋|Archiver|手機版|艾歐踢創新工坊    

GMT+8, 2024-5-16 21:23 , Processed in 0.268261 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表