CyberStore Ecommerce 2023 Documentation
SORTBO

See the example of SORTBO 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="Customer" />
    <xsl:param name="SalesOrder" />
    <xsl:param name="StockCode" />
    <xsl:param name="Warehouse" />
    <xsl:param name="Quantity" />
    <xsl:param name="SalesOrderLine" />
    <xsl:template match="/">
        <PostSorBackOrderRelease xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"  xsd:noNamespaceSchemaLocation="SORTBO.XSD">
            <Item>
                <Customer>
                    <xsl:value-of select="$Customer" />
                </Customer>
                <SalesOrder>
                    <xsl:value-of select="$SalesOrder" />
                </SalesOrder>
                <StockCode>
                    <xsl:value-of select="$StockCode" />
                </StockCode>
                <Warehouse>
                    <xsl:value-of select="$Warehouse" />
                </Warehouse>
                <Quantity>
                    <xsl:value-of select="$Quantity" />
                </Quantity>
                <SalesOrderLine>
                    <xsl:value-of select="$SalesOrderLine" />
                </SalesOrderLine>
                <CompleteLine>N</CompleteLine>
                <AdjustOrderQuantity>N</AdjustOrderQuantity>
                <OrderStatus>N</OrderStatus>
                <ReleaseFromShip>N</ReleaseFromShip>
                <ZeroShipQuantity>N</ZeroShipQuantity>
            </Item>
        </PostSorBackOrderRelease>
    </xsl:template>
</xsl:stylesheet>