CyberStore Ecommerce 2023 Documentation
SORQCP

See the example of SORQCP code below:

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
      <Query xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="SORQCP.xsd">
      <Option>
        <ContractType>A</ContractType>
        <IncludeFlatPrice>Y</IncludeFlatPrice>
        <IncludeCoded>Y</IncludeCoded>
        <IncludeQtyDiscountBreaks>Y</IncludeQtyDiscountBreaks>
        <IncludeListPriceLessPerc>Y</IncludeListPriceLessPerc>
        <IncludeListPriceLessChainDisc>Y</IncludeListPriceLessChainDisc>
        <IncludePriceCodeLessChainDisc>Y</IncludePriceCodeLessChainDisc>
        <IncludeMarkUpCostPct>Y</IncludeMarkUpCostPct>
        <IncludeCodedLessUnitDiscValue>Y</IncludeCodedLessUnitDiscValue>
        <IncludeGrossProfitPct>Y</IncludeGrossProfitPct>
        <IncludeNotes>N</IncludeNotes>
        <IncludeExpiredContracts>N</IncludeExpiredContracts>
        <IncludeFutureContracts>N</IncludeFutureContracts>
        <WhToUseForCosts><xsl:value-of select="//Query/Warehouse"/></WhToUseForCosts>
      </Option>
      <Filter>
        <xsl:element name="Customer">
          <xsl:attribute name="FilterType">S</xsl:attribute>
          <xsl:attribute name="FilterValue">
            <xsl:value-of select="//Query/Customer"/>
          </xsl:attribute>
        </xsl:element>
        <xsl:element name="StockCode">
          <xsl:attribute name="FilterType">S</xsl:attribute>
          <xsl:attribute name="FilterValue">
            <xsl:value-of select="//Query/StockCode"/>
          </xsl:attribute>
        </xsl:element>
      </Filter>
    </Query>
  </xsl:template>
</xsl:stylesheet>