CyberStore Documentation
SORQPL

See the example of SORQPL code below:

<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:param name="StockCode" />
  <xsl:param name="Customer" />
  <xsl:param name="Qty" />
  <xsl:template match="/">
    <Query xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="SORQPL.XSD">
        <Key>
            <Customer>
        <xsl:value-of select="$Customer" />
      </Customer>
            <StockCode>
        <xsl:value-of select="$StockCode" />
      </StockCode>
            <Quantity>
        <xsl:value-of select="$Qty" />
      </Quantity>
        </Key>
        <Option>
            <DefaultUnitOfMeasure>S</DefaultUnitOfMeasure>
            <IncludeAllContracts>Y</IncludeAllContracts>
            <ExpiryDaysBefore>0</ExpiryDaysBefore>
            <StartingDaysAhead>0</StartingDaysAhead>
            <WarehouseForCosts>O</WarehouseForCosts>
            <SpecificWarehouse>FG</SpecificWarehouse>
            <IncludeGlobalTradePromotions>Y</IncludeGlobalTradePromotions>
            <IncludeUnqualifiedPromotions>N</IncludeUnqualifiedPromotions>
            <PromotionStartDate/>
            <PromotionExpiryDate/>
            <XslStylesheet/>
        </Option>
    </Query>
  </xsl:template>
</xsl:stylesheet>