OMD Pick & Pack
OMD Pack & Pack is an application for stock pickers and provides two main pages for viewing planned items.
The preferences listed below must be added as process flow preferences.
Group View
The first view is used to view groups of items, for example product groups or product categories.
picknpackGroupingTemplate |
---|
Type |
String |
Determines the grouping field in the group view.
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" omit-xml-declaration="yes" indent="no" />
<xsl:template match="/"> <xsl:choose><xsl:when test="//@lineOfProduct"><xsl:value-of select="//@serviceLine" /></xsl:when></xsl:choose>
</xsl:template>
</xsl:stylesheet>
picknpackSortingTemplate |
---|
Type |
String |
Determines the sorting within the group view (it must be a task level field because of the items aggregation).
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" omit-xml-declaration="yes" indent="no" />
<xsl:template match="/"> <xsl:choose><xsl:when test="//@account"><xsl:value-of select="//@account" /></xsl:when></xsl:choose>
</xsl:template>
</xsl:stylesheet>
picknpackDescriptionMain |
---|
Type |
String |
Determines the content to show in the main list entries.
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" omit-xml-declaration="yes" indent="no" />
<xsl:template match="/"><xsl:choose><xsl:when test="//@content"><xsl:value-of select="//@content" /> - <xsl:value-of select="//@reference" /> </xsl:when></xsl:choose>
</xsl:template>
</xsl:stylesheet>
Filters
picknpackFilterTemplateX |
---|
Type |
String |
Retrieves the criterion to create the dynamic list of filters.
Example
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="filterName1" />
<xsl:output method="text" omit-xml-declaration="yes" indent="no"/>
<xsl:template match="/Data/Extra">
<xsl:choose>
<xsl:when test="//@*[local-name() = $filterName1]">
<xsl:value-of select="//@*[local-name() = $filterName1]" />
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
picknpackFilterNameParameter1 |
---|
Type |
String |
Used in the picknpackFilterTemplate
preferences.
Example
productType
Drill-Down
In the drill-down view, items are displayed according to the group selected on the main page.
picknpackSubGroupingTemplate |
---|
Type |
String |
Determines the grouping field in the drill-down view.
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" omit-xml-declaration="yes" indent="no" />
<xsl:template match="/"> <xsl:choose><xsl:when test="//@serviceLine"><xsl:value-of select="//@serviceLine" /> - <xsl:value-of select="//@productType" /></xsl:when></xsl:choose>
</xsl:template>
</xsl:stylesheet>
picknpackDescriptionGroupTemplate |
---|
Type |
String |
Determines the content to show in the drill-down list entries.
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="html" omit-xml-declaration="yes" encoding="string" indent="no" />
<xsl:template match="/">
<xsl:choose>
<xsl:when test="//@customerName"><xsl:value-of select="//@customerName" /><br /><xsl:if test="//@street!= ''"> <xsl:value-of select="//@street" />, </xsl:if><xsl:if test="//@postalCode != ''"> <xsl:value-of select="//@postalCode" /></xsl:if>, <xsl:if test="//@city!= ''"> <xsl:value-of select="//@city" /></xsl:if><xsl:if test="//@country!= ''"> (<xsl:value-of select="//@country" />)</xsl:if>
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
Notes
picknpackNoteTemplate |
---|
Type |
String |
Creates a note sample based on the current entry (must be a task level field because of the items aggregation).
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" omit-xml-declaration="yes" indent="no"/>
<xsl:template match="/">
<xsl:text>This is a note sample for </xsl:text>
<xsl:choose>
<xsl:when test="//@descriptionMain">
<xsl:value-of select="//@descriptionMain" />
</xsl:when>
</xsl:choose>
<xsl:text> items.</xsl:text>
</xsl:template>
</xsl:stylesheet>
The following fields are available:
Common
- day
- resource
- territory
- quantity
- completed
- user
Main Page
- groupingValue
- descriptionMain
Drill-Down
- subGroupingValue
- descriptionGroup