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>
This document is copyrighted by Dovetail Internet Technologies, LLC., the developers of CyberStore (www.CyberStoreForSYSPRO.com).
The name SYSPRO and other information contained in this document and the application are used with the permission of SYSPRO Impact Software, Inc. (www.syspro.com) Published Wednesday, April 24, 2024