Default Template for Visit Report
This appendix shows the default rich text document template and html template for visit reports. These templates are also the templates used if no appropriate template is defined. The templates can be imported and downloaded from session Visit Report Templates (tsmdm5100m000) or downloaded from session Additional Files (ttadv2570m000). The file names are:
- tssocLN_Mobile_Service_Visit_Report_Template.rtf
- tssocLN_Mobile_Service_Visit_Report_Template.html
Rich Text Document Visit Report Template
##DepartmentName## | <<Order>> | ##ServiceOrder## |
---|---|---|
##DepartmentAddress## |
<<OrderReference>> <<StartTime>> <<ServiceEngineer>> |
##ReferenceA## ##StartTime## ##Engineer## |
<<BillingAddress>> <<ServiceAddress>> | ||
##SoldToBusinessPartnerName## ##ServiceAddress## |
##InvoiceToBusinessPartnerName## ##BillingAddress## |
<<Summary>> | |||
---|---|---|---|
<<Materials>> | <<Labor>> | <<OtherCosts>> | <<Total>> |
##TotalMaterialCost## |
##TotalLaborCost## |
##TotalOtherCost## <<Tax>> <<Total>> |
##TotalInvoice## ##TotalTax## ##GrandTotal## |
<<EngineerComments>> |
##EngineerComments## |
<<CustomerComments>> |
##CustomerComments## |
%%EngineerSignature%% | %%CustomerSignature%% |
##ServiceEngineer## | ##CustomerName## |
<<ServiceEngineer>> | <<CustomerName>> |
[[Activities]] | |||
<<Activity>> (##ActivityPk##) | |||
[[MaterialCost]] | |||
<<Materials>> | |||
<<Quantity>> | <<ItemCode>> | <<ItemDescription>> | <<Amount>> |
##Quantity## | ##Item## | ##Description## | ##AmountOrCoverage## |
[[OtherCost]] | |||
<<OtherCosts>> | |||
<<Quantity>> | <<CostType>> | <<Description>> | <<Amount>> |
##Quantity## | ##CostType## | ##Description## | ##AmountOrCoverage## |
[[LaborCost]] | |||
<<Labor>> | |||
<<Hours>> | <<LaborType>> | <<Task>> | <<Amount>> |
##Duration## | ##LaborType## | ##Task## | ##AmountOrCoverage## |
<<Diagnosis>> |
<<ReportedProblem>> |
##ReportedProblem## |
<<ExpectedProblem>> | <<ExpectedSolution>> |
---|---|
##ExpectedProblem## | ##ExpectedSolution## |
<<ActualProblem>> | <<ActualSolution>> |
---|---|
##ActualProblem## | ##ActualSolution## |
##ActualProblemComment## | ##ActualSolutionComment## |
Html Visit Report Template
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
body {
margin: 1em;
}
.normal-style {
font-size: 1em;
}
.sub-heading-style {
font-size: 1.14em;
}
.title-style {
font-size: 1.43em;
}
.accent-color {
color: #368AC0;
}
.table-caption {
font-size: 1.14em;
font-weight: bold;
}
.table-header {
font-size: 1em;
font-weight: bold;
}
.table-row {
font-size: 1em;
}
.multiline {
white-space: pre;
}
.right-align {
text-align: right;
}
</style>
</head>
<body>
<br />
<table style="width:100%;">
<tr>
<td style="width:50%;">
<table >
<tr>
<td><div class="normal-style multiline">##DepartmentAddress##</div></td>
</tr>
</table>
</td>
<td valign="top" style="width:50%;">
<table>
<tr>
<td class="sub-heading-style accent-color" style="width:50%;">{{Order}}</td>
<td class="sub-heading-style accent-color" style="width:50%;">##ServiceOrder##</td>
</tr>
<tr>
<td class="normal-style">{{OrderReference}}</td>
<td class="normal-style">##ReferenceA##</td>
</tr>
<tr>
<td class="normal-style">{{StartTime}}</td>
<td class="normal-style">##StartTime##</td>
</tr>
<tr>
<td class="normal-style">{{ServiceEngineer}}</td>
<td class="normal-style">##ServiceEngineer##</td>
</tr>
</table>
</td>
</tr>
</table>
<hr />
<br />
<div class="sub-heading-style accent-color">{{ServiceAddress}}</div>
<div class="normal-style multiline">##ServiceAddress##</div>
<br />
<hr />
<!--Activities-->
<div data-datasetrow="Activities">
<span class="sub-heading-style accent-color">{{Activity}} ##Description##</span>
<span class="normal-style accent-color">(##ServiceOrder##-##ActivityLine##)</span>
<div class="normal-style accent-color">##Item## - ##SerialNumber## ##ItemDescription##</div>
<br />
<!--MaterialCost-->
<div data-dataset="MaterialCost">
<div class="table-caption">{{Materials}}</div>
<table style="width:100%;">
<tr class="table-header">
<td style="width:25%">{{Quantity}}</td>
<td style="width:25%">{{ItemCode}}</td>
<td style="width:50%">{{ItemDescription}}</td>
</tr>
<!--MaterialCost-->
<tr data-datasetrow="MaterialCost" class="table-row">
<td>##Quantity##</td>
<td>##Item##</td>
<td>##Description##</td>
</tr>
</table>
<br />
</div>
<!--OtherCost-->
<div data-dataset="OtherCost">
<div class="table-caption">{{OtherCost}}</div>
<table style="width:100%;">
<tr class="table-header">
<td style="width:25%">{{Quantity}}</td>
<td style="width:75%">{{Description}}</td>
</tr>
<!--OtherCost-->
<tr data-datasetrow="OtherCost" class="table-row">
<td>##Quantity##</td>
<td>##Description##</td>
</tr>
</table>
<br />
</div>
<!--LaborCost-->
<div data-dataset="LaborCost">
<div class="table-caption">{{Labor}}</div>
<table style="width:100%;">
<tr class="table-header">
<td style="width:25%">{{Hours}}</td>
<td style="width:75%">{{Task}}</td>
</tr>
<!--LaborCost-->
<tr data-datasetrow="LaborCost" class="table-row">
<td>##Duration##</td>
<td>##Task##</td>
</tr>
</table>
<br />
</div>
<!--Inspections-->
<div data-dataset="Inspections">
<div class="table-caption">{{Inspections}}</div>
<table style="width:100%;">
<tr class="table-header">
<td style="width:25%">{{MeasurementType}}</td>
<td style="width:25%">{{MeasurementPosition}}</td>
<td style="width:25%">{{MeasuredValue}}</td>
<td style="width:25%">{{MeasuredOn}}</td>
</tr>
<!--Inspections-->
<tr data-datasetrow="Inspections" class="table-row">
<td>##MeasurementTypeDescription##</td>
<td>##PositionDescription##</td>
<td>##MeasuredValueOrDescription## ##MeasurementUnit##</td>
<td>##MeasurementTime##</td>
</tr>
</table>
<br />
</div>
<div class="table-caption">{{Diagnosis}}</div>
<table style="width:100%;">
<tr class="table-header">
<td style="width:50%">{{ReportedProblem}}</td>
<td style="width:50%"></td>
</tr>
<tr class="table-row">
<td>##ReportedProblem##</td>
<td></td>
</tr>
<tr class="table-header">
<td>{{ExpectedProblem}}</td>
<td>{{ExpectedSolution}}</td>
</tr>
<tr class="table-row">
<td>##ExpectedProblem##</td>
<td>##ExpectedSolution##</td>
</tr>
<tr class="table-header">
<td>{{ActualProblem}}</td>
<td>{{ActualSolution}}</td>
</tr>
<tr class="table-row">
<td>##ActualProblem##</td>
<td>##ActualSolution##</td>
</tr>
<tr class="table-row">
<td>##ActualProblemComment##</td>
<td>##ActualSolutionComment##</td>
</tr>
</table>
<br />
<!--ExternalNotes-->
<div data-dataset="ExternalNotes">
<div class="table-caption">{{Notes}}</div>
<table style="width:100%;">
<!--ExternalNotes-->
<tbody data-datasetrow="ExternalNotes">
<tr class="table-header">
<td>{{Note}}</td>
</tr>
<tr class="table-row">
<td>##NoteText##</td>
</tr>
<tr class="table-row">
<td><br /></td>
</tr>
</tbody>
</table>
<br />
</div>
<br />
</div>
<br />
<hr />
<br />
<table style="width:100%;">
<tr class="table-header">
<td style="width:50%">{{EngineerComments}}</td>
<td style="width:50%">{{CustomerComments}}</td>
</tr>
<tr class="table-row">
<td>##EngineerComments##</td>
<td>##CustomerComments##</td>
</tr>
<tr class="table-row">
<td>%%EngineerSignature%%</td>
<td>%%CustomerSignature%%</td>
</tr>
</table>
<table style="width:100%;">
<tr class="table-header">
<td style="width:50%">##ServiceEngineer##</td>
<td style="width:50%">##CustomerName##</td>
</tr>
<tr class="table-row">
<td>{{ServiceEngineer}}</td>
<td>{{CustomerName}}</td>
</tr>
</table>
<br />
<hr />
</body>
</html>