サーバー管理 > レポート > レポート レシピの作成 > レポート レシピ内の変更パッケージ情報の表示
  
レポート レシピ内の変更パッケージ情報の表示
ユーザーは、アイテムの変更パッケージ情報を表示するレポートを求めています。このような機能があると、開発マネージャは開発者がどのような変更を加えたかを確認できます。
レポート レシピに変更パッケージ タグを追加し、Windchill RV&S 変更パッケージ タイプの変更パッケージ情報を表示します。
変更パッケージ属性情報の他に、ユーザーは各変更パッケージ エントリについての情報を表示するオプションも求めています。このようなオプションがあると、どのような開発変更がなされたかを確認する際に付加的な情報が表示されます。
変更パッケージ レポート レシピに変更パッケージ エントリ タグを追加し、Windchill RV&S 変更パッケージ タイプの変更パッケージ エントリ情報を表示します。
次に例を示します。
<%version 1%>
<%description <b>Description: </b>This is a report that uses
Windchill RVS change package report tags.<br><br>%>
<%param name="reporttitle" type="String" prompt="Report Title"
value="" description="Descriptive title for your report."%>
<%param name="reportheader" type="MultiString" prompt="Report
Header" value="" description="Text appearing at the top of the
report page."%>
<%param name="reportfooter" type="MultiString" prompt="Report
Footer" value="Confidential - Internal Use Only"
description="Text appearing at the bottom of the report page."%>
<%param name="itemheading" type="String" prompt="Item Heading"
value="Item {ID} : {Summary}" description="This is displayed at
the top of each item in the report."%>
<%param name="cpheading" type="String" prompt="Change Package
Heading" value="Change Packages" description="This is displayed
at the top of the change packages area."%>
<%param name="cpentryheading" type="String" prompt="Change Package
Entry Heading" value="Change Package Entries" description="This is
displayed at the top of the change package entry area."%>
<html>
<head>
<title>Change Package Report</title>
<%screenStyleSheet%>
<%printerStyleSheet%>
</head>
<%dateformat%>
<%datetimeformat%>
<%sortby &sortby%>
<body>
<span class="logo"><%logoURL%></span>
<p class="title">&reporttitle</p>
<p class="header">&reportheader</p>
<div align="right" class="date"><%currentdate%></div>
<table class="display">
<tr><td colspan="&#fields"><hr
class="hr_default"></td></tr>
<%begindetail%>
<!-- Display item heading -->
<tr><td class="heading6">&itemheading</td></tr>
<!-- Display item field names and values -->
<tr class="odd_row">
<td>
<%iteratefields%>
<table class="border" cellspacing=0>
<tr valign="top">
<td><span class="bold">&fielddisplayname:</span></td>
<td>&fieldname</td>
</tr>
</table>
<%/iteratefields%>
</td>
</tr>
<!-- Change Packages info -->
<!-- Display change package heading -->
<tr><td class="heading4">&cpheading</td></tr>
<%begingenericcpdetail &cptype%>
<!-- Display change package attribute names and values -->
<tr>
<td>
<%iterategenericcpfields%>
<table class="border">
<tr valign="top">
<td><span class="bold">&genericcpfielddisplayname:</span></td>
<td>&genericcpfieldname</td>
</tr>
</table>
<%/iterategenericcpfields%>
</td>
</tr>
<!-- Change Package Entries info -->
<!-- Display change package entry heading -->
<tr>
<td class="heading4">&cpentryheading</td>
</tr>
<tr class="even_row">
<td class="border">
<div class="center">
<table class="list">
<!-- Display change package entry attribute headings -->
<tr>
<%iterategenericcpentryfields%>
<th>&genericcpentryfielddisplayname</th>
<%/iterategenericcpentryfields%>
</tr>
<!-- Display change package entry attribute values -->
<%begingenericcpentrydetail%>
<tr>
<%iterategenericcpentryfields%>
<td>&genericcpentryfieldname</td>
<%/iterategenericcpentryfields%>
</tr>
<%endgenericcpentrydetail%>
</table>
</div>
</td>
</tr>
<%endgenericcpdetail%>
<tr><td colspan="&#fields"><hr
class="hr_default"></td></tr>
<%enddetail%>
</table>
<span class="footer">&reportfooter</span>
<div align="center">
<a href="<%weburl%>im/runreport?selection=&currentReportName">
<img src="<%weburl%>Report_Recipe/re-run_report.gif"
align="middle" border="0">
</a>
</div>
</body>
</html>