<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="SalesOrder" />
<xsl:param name="CustomerPo" />
<xsl:template match="/" >
<Query xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="SORQRY.XSD">
<xsl:if test="$SalesOrder!=''">
<Key>
<SalesOrder>
<xsl:value-of select="$SalesOrder" />
</SalesOrder>
</Key>
</xsl:if>
<xsl:if test="$CustomerPo!=''">
<Key>
<CustomerPo>
<xsl:value-of select="$CustomerPo" />
</CustomerPo>
</Key>
</xsl:if>
<Option>
<IncludeCustomForms>Y</IncludeCustomForms>
<IncludeStockedLines>N</IncludeStockedLines>
<IncludeNonStockedLines>N</IncludeNonStockedLines>
<IncludeFreightLines>N</IncludeFreightLines>
<IncludeMiscLines>N</IncludeMiscLines>
<IncludeCommentLines>N</IncludeCommentLines>
<IncludeCompletedLines>N</IncludeCompletedLines>
<IncludeSerials>N</IncludeSerials>
<IncludeLots>N</IncludeLots>
<IncludeBins>N</IncludeBins>
<IncludeAttachedItems>N</IncludeAttachedItems>
<IncludeDetailLineCustomForms>N</IncludeDetailLineCustomForms>
<IncludeValues>N</IncludeValues>
<ReturnLineShipDate>N</ReturnLineShipDate>
<IncludeKitComponents>N</IncludeKitComponents>
<IncludeNotes>N</IncludeNotes>
<ReturnNotesinBlock>N</ReturnNotesinBlock>
<XslStylesheet/>
</Option>
</Query>
</xsl:template>
</xsl:stylesheet>