Trip Summary

External systems uploading tasks to OMD Go can include information relevant to the mobile worker before departing to the first stop. This information is then used to produce a document attachment which is presented to the mobile worker after confirming Start of the Day. The document is produced by transforming the task into an XML including the extra information (with valid XML content) as a child node and is then transformed by applying an XSL template.

Note that the following two preferences are server-side preferences.

tripSummaryTemplate
Type Default Value Example Android HTML 5
String Undefined TripSummaryTemplate + -

The template preference only contains the name of the template, it must not contain the template itself.

Example

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text" encoding="UTF-8"/>
    <xsl:template match="/Task"/>
      <xsl:value-of select="@remarks"/>
      <xsl:value-of select="Data/@extraInfo"/>  
    </xsl:template>
</xsl:stylesheet>

Use the tripSummaryMIMEType preference to define the MIME type of the output.

tripSummaryMIMEType
Type Default Value Example Android HTML 5
String text/plain text/html + -

To automatically display trip summary information of today , right after start of the day, set the process-flow preference sodShowTripSummary to true. Additionally, the trip summary information for any day can be displayed via the context menu of a task of that day in the agenda.

sodShowTripSummary
Type Default Value Example Android HTML 5
String false true + -

Items Packed

When using OMD Pick & Pack, mobile workers can view packed quantities within the Trip Summary screen.

For each itemsPacked attachment created by OMD Pick & Pack, an entry is added to the end of the Trip Summary screen. Entries are displayed according to an XSL stylesheet transforming the itemsPacked attachments into HTML content.

By applying a match filter in the stylesheet, itemsPacked entries can be filtered on those having deviating quantities.

Note that the following preference is a processflow preference.

itemsPackedTemplate
Type Default Value Example Android HTML 5
String Undefined See below + -

Example

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text" encoding="UTF-8"/>
    <xsl:template match="/Data/TripAttachment[string-length(@processFlow) &gt; 0]"/>
      <xsl:text>Planned: </xsl:text><xsl:value-of select="@size"/>
      <xsl:text>Packed: </xsl:text><xsl:value-of select="@quantity"/>
    </xsl:template>
</xsl:stylesheet>

results matching ""

    No results matching ""