Serververwaltung > Reports > Creating a Report Recipe > Displaying Time Entry Information in a Report Recipe
  
Displaying Time Entry Information in a Report Recipe
Users want a report that displays item time entry information. They are interested in viewing the time entry date, hours entered for that date, and user that entered the time. Managers find this information useful for getting an overview of how much time is being spent on tasks for a project.
Add time entry tags to a report recipe to display time entry field information for items.
For example:
<%version 1%>
<%description <b>Description: </b>This is a report that uses
Windchill RVS time entry 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="timeentryheading" type="String" prompt="Time
Entry Heading" value="Time Entries" description="This is
displayed at the top of the time entries column."%>
<%param name="notimeentries" type="String" prompt="No Time
Entries Message" value="No time entries." description="The
message displayed if there are no time entries on an item."%>
<html>
<head>
<title>Time Entry 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>
<hr class="hr_default">
<table class="display">
<!-- Display item field headings -->
<tr>
<%iteratefields%>
<th class="heading1">&fielddisplayname</th>
<%/iteratefields%>
<!-- Display time entry heading -->
<th class="heading1">&timeentryheading</th>
</tr>
</table>
<hr class="hr_default">
<table class="display">
<!-- Display item field values -->
<%begindetail%>
<tr>
<%iteratefields%>
<td class="border">&fieldname</td>
<%/iteratefields%>
<!-- Time Entry info -->
<td class="border">
<table class="list">
<%begintimeentriesdetail%>
<!-- Display time entry field headings -->
<%begintimeentrysection header%>
<tr>
<%iteratetimeentryfields%>
<th>&timeentryfielddisplayname</th>
<%/iteratetimeentryfields%>
</tr>
<%endtimeentrysection%>
<!-- Display no time entries found -->
<%begintimeentrysection none%>
<tr><td>&notimeentries</td></tr>
<%endtimeentrysection%>
<!-- Display time entry field values -->
<tr>
<%iteratetimeentryfields%>
<td>&timeentryfieldname</td>
<%/iteratetimeentryfields%>
</tr>
<%endtimeentriesdetail%>
</table>
</td>
</tr>
<%enddetail%>
</table>
<hr class="hr_default">
<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>