See the example of SORTOI-Params code below:
<?xml version="1.0" encoding="Windows-1252" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" /> <xsl:param name="Process" /> <xsl:param name="WarehouseListToUse" /> <xsl:param name="IgnoreWarnings" /> <xsl:param name="AllocationAction" /> <xsl:param name="UseStockDescSupplied" /> <xsl:param name="OrderStatus" /> <xsl:param name="TypeOfOrder" /> <xsl:template match="/"> <SalesOrders xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="SORTOI.XSD"> <Parameters> <InBoxMsgReqd>Y</InBoxMsgReqd> <Process> <xsl:value-of select="$Process" /> </Process> <WarehouseListToUse> <xsl:value-of select="$WarehouseListToUse" /> </WarehouseListToUse> <AcceptEarlierShipDate>Y</AcceptEarlierShipDate> <AllocationAction> <xsl:value-of select="$AllocationAction" /> </AllocationAction> <AddStockSalesOrderText>Y</AddStockSalesOrderText> <AddDangerousGoodsText>Y</AddDangerousGoodsText> <xsl:if test="$UseStockDescSupplied='Y'"> <UseStockDescSupplied> <xsl:value-of select="$UseStockDescSupplied" /> </UseStockDescSupplied> </xsl:if> <CreditFailMessage>No credit available</CreditFailMessage> <AllowDuplicateOrderNumbers>Y</AllowDuplicateOrderNumbers> <AlwaysUsePriceEntered>Y</AlwaysUsePriceEntered> <AllowZeroPrice>Y</AllowZeroPrice> <ShipFromDefaultBin>Y</ShipFromDefaultBin> <IgnoreWarnings> <xsl:value-of select="$IgnoreWarnings" /> </IgnoreWarnings> <OrderStatus> <xsl:value-of select="$OrderStatus" /> </OrderStatus> <TypeOfOrder> <xsl:value-of select="$TypeOfOrder" /> </TypeOfOrder> </Parameters> </SalesOrders> </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