Extra information

The ERP can send additional information on item level to OMD. This information can be useful during the life-cycle of a task in OMD. For example, a purchase order number, which is not part of the standard task entity, can be provided to OMD in order to include this number on the resulting servicesheet.

To display extra information, use the preference itemsPlannedExtraTemplate. This preference must contain a valid XSL stylesheet, which will be used to transform the extra XML document stored in the extra attribute of the task attachment. The resulting HTML code will be displayed in the Change Quantity screen of OMD Mobile.

itemsPlannedExtraTemplate
Type Default Value Example Android HTML 5
XML Undefined See below + -
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
                 <xsl:output media-type="text/html"/>
                 <xsl:template match="/Data">
                       <html>
                             <body>
                               <p style="background-color:blue;color:white">
                               Product Line <xsl:value-of select="@productLine"/>
                               <br/>
                               <xsl:value-of select="@serviceFrequency"/>
                               </p>
                             </body>
                        </html>
                  </xsl:template>
</xsl:stylesheet>

results matching ""

    No results matching ""