Transport Document
The driver may be required to carry a transport document, containing details about the materials in his vehicle. The transport document is a screen on the app, which can be rendered from HTML, transformed from XML data, provided by the app.
Example of XML data provided by the app:
<TransportDocument>
<omd.domain.s4.TaskAttachment subType="startOfTheDay" device="5322bd6a-93e2-4a96-b920-0565e9a73b98" quantity="1" format="gps" reference="1719" id="38249315-37a9-4f17-80ba-06d9013816a5" version="1" attachmentType="1" createdBy="16169325.1719" createdOn="13/12/2021 14:07" content="1719">
<Data – />
</omd.domain.s4.TaskAttachment>
<omd.domain.s4.Task …>
<DATA … />
<omd.domain.s4.TaskAttachment … >
<DATA … />
</omd.domain.s4.TaskAttachment>
<omd.domain.s4.TaskAttachment … >
<DATA … />
</omd.domain.s4.TaskAttachment>
</omd.domain.s4.Task>
<omd.domain.s4.Task …>
<DATA … />
<omd.domain.s4.TaskAttachment … >
<DATA … />
</omd.domain.s4.TaskAttachment>
<omd.domain.s4.TaskAttachment … >
<DATA … />
</omd.domain.s4.TaskAttachment>
</omd.domain.s4.Task>
</TransportDocument>
transportDocumentTemplate | ||||
---|---|---|---|---|
Type | Default Value | Example | Android | HTML 5 |
String | Undefined | XSLT-code | + | - |
The XSL-template to transform data from a startOfTheDay attachment, tasks and task attachments to the HTML of a transport document.