See the example of INVQRY 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="WareHouseFilter" > <xsl:value-of select="//Warehouse" /> </xsl:param> <xsl:template match="/"> <Query xmlns:xsd="http://www.w3.org/2000/10/XMLSchema-instance" xsd:noNamespaceSchemaLocation="INVQRY.XSD"> <Key> <StockCode> <xsl:value-of select="//StockCode"></xsl:value-of> </StockCode> </Key> <Option> <IncludeHistory>N</IncludeHistory> <IncludeBins>N</IncludeBins> <IncludeLots>N</IncludeLots> <IncludeEcc>N</IncludeEcc> <IncludeSerials>N</IncludeSerials> <IncludeMovements>N</IncludeMovements> <IncludeCustomForms>N</IncludeCustomForms> <IncludeMovementIssues>N</IncludeMovementIssues> <IncludeMovementTransfers>N</IncludeMovementTransfers> <IncludeMovementReceipts>N</IncludeMovementReceipts> <IncludeMovementPhysical>N</IncludeMovementPhysical> <IncludeMovementAdjustments>N</IncludeMovementAdjustments> <IncludeMovementCostChanges>N</IncludeMovementCostChanges> <IncludeMovementCostMods>N</IncludeMovementCostMods> <IncludeMovementInvoices>N</IncludeMovementInvoices> <IncludeMovementCreditNotes>N</IncludeMovementCreditNotes> <IncludeMovementDebitNotes>N</IncludeMovementDebitNotes> <IncludeMovementDispatchNotes>N</IncludeMovementDispatchNotes> <XslStylesheet/> </Option> <Filter> <xsl:if test="$WareHouseFilter!=''"> <xsl:element name="Warehouse" > <xsl:attribute name="FilterType" >L</xsl:attribute> <xsl:attribute name="FilterValue" > <xsl:value-of select="$WareHouseFilter" /> </xsl:attribute> </xsl:element> </xsl:if> </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