設為首頁收藏本站

艾歐踢論壇

 找回密碼
 立即註冊

QQ登錄

只需一步,快速開始

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

Crystal Report + IFS Develop statements customization process

[複製鏈接]
跳轉到指定樓層
樓主
發表於 2017-1-20 22:51:56 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
Crystal Report + IFS Develop statements customization process
[Basic principles]
1) write the corresponding view
2) the development of statements of Crystal Reports / corresponding view associated
3) report rpt related to the IFS application

[Preparatory]
1) write the corresponding view
The personal recommendations practice, a report associated with a view
There are three reasons: easy report design (without a lot of trouble in the Crystal Reports lot of view related)
Convenient permission settings
Routine maintenance (you can directly modify the background SQL script)
Cited previously written examples are as follows (according to the report needs to write the appropriate view):
DEFINE MODULE = QLHMOD
DEFINE LU = HVIEW
DEFINE VIEW = HV_SO_WIP
CREATE OR REPLACE VIEW & VIEW AS
select HPUB_FUN_API.gCompName CompName,
substr (SITE_API.Get_Description (CONTRACT), 1,100) site_desc,
rpt_month, contract, so_no, mat_part, mat_part_desc,
inventory_part_api.Get_Unit_Meas (contract, mat_part) unit_meas,
qty_issued - (qty_complete + qty_scrapped) * qty_required / lot_size wip_qty,
HPUB_FIN_API.GetPartCost (contract, rpt_month, mat_part, 'ALL') * (qty_issued - (qty_complete + qty_scrapped) * qty_required / lot_size) cost_all,
HPUB_FIN_API.GetPartCost (contract, rpt_month, mat_part, '110 ') * (qty_issued - (qty_complete + qty_scrapped) * qty_required / lot_size) cost_110,
HPUB_FIN_API.GetPartCost (contract, rpt_month, mat_part, '200 ') * (qty_issued - (qty_complete + qty_scrapped) * qty_required / lot_size) cost_200,
HPUB_FIN_API.GetPartCost (contract, rpt_month, mat_part, '300 ') * (qty_issued - (qty_complete + qty_scrapped) * qty_required / lot_size) cost_300,
HPUB_FIN_API.GetPartCost (contract, rpt_month, mat_part, '321 ') * (qty_issued - (qty_complete + qty_scrapped) * qty_required / lot_size) cost_321
from DPCC_RPT_WIP_HIST
where contract = HPUB_FUN_API.gSite
and (qty_issued - (qty_complete + qty_scrapped) * qty_required / lot_size) <> 0
WITH read only;
COMMENT ON TABLE & VIEW
IS 'LU = & LU ^ PROMPT = & VIEW ^ MODULE = & MODULE ^';
2) the development of statements of Crystal Reports / corresponding view associated
This information online, you can easily google it.
Points to note:
- The best selection of view not to use the table;
- Report view selection, and then separate the individual name:
(Alias ??settings: Click the main menu "Database / SET Alias ??..." entry, the system will pop up the "Set Alias ??dialog box, select a view or table, and then click" Set Alias ??... "button, the system will pop up "Alias ??Name dialog box, in each view name with a" / ", such as" HV_SO_WIP / ;) - This step is not linked to the IFS application, the login dialog box will pop up.
-------------------------------------------------- -------------------------------------------------- -----
All information 20,080,305 update adds;
The following information 20,040,625 wrote:
The operation process Step 3) statements the rpt related to the IFS application;
-------------------------------------------------- -------------------------------------------------- -----
1) design statements Seagate CryStal Reports => Design *. Rpt
2) Add the statements IFS/Admin-> Fnd1 AdMin -> Quick Report -> Add a sum of Quick Report
3) Find the id IFS / Admin -> Installation-> SQL Query tool under SQL statement
select quick_report_id, description from quick_report; find just added statements id: 42
4) Add to the corresponding form IFS / admin -> FND1 admin / CustomMenu / CustomMenu-Detail add a piece of data:
ActionType-> SAL Code
Windows-> Form Name
Parameter => InfoServer.QuickReportStart (SalNumberToStrX (42,0) | | '@')
/ / Note 42 of the sentence
5) the appropriate form to open the customized menu options: open the IFS applications -> Forms -> right click -> selected CustomItem "
So the midpoint of the form right you can see just the development of the report.


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

使用道具 舉報

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

本版積分規則

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

GMT+8, 2024-5-16 20:15 , Processed in 0.238474 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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