CyberStore Ecommerce 2023 Documentation
COMBRW- MultiShip

See the example of COMBRW-MultiShip 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="CustomerNumber" />
  <xsl:param name="StartAtKey" />

  <xsl:template match="/">
    <Browse xmlns:xsd="http://www.w3.org/2000/10/XMLSchema-instance" xsd:noNamespaceSchemaLocation="COMBRW.XSD">
      <BrowseName>ArMultAddress</BrowseName>
      <xsl:choose>
        <xsl:when test="$StartAtKey!=''">
            <StartAtKey>
              <xsl:value-of select="$StartAtKey" />
            </StartAtKey>
            <StartCondition>GR</StartCondition>
        </xsl:when>
        <xsl:otherwise>
            <StartAtKey>0</StartAtKey>
            <StartCondition>GE</StartCondition>          
        </xsl:otherwise>
      </xsl:choose>
      <ReturnRows/>
      <xsl:if test="$CustomerNumber!=''">
        <Filter>
          <ColumnFilterName>Customer</ColumnFilterName>
          <ColumnFilterValue>
            <xsl:value-of select="$CustomerNumber"  />
          </ColumnFilterValue>
        </Filter>
      </xsl:if>
      <BrowseDetails>
        <TableName>ArMultAddress</TableName>
        <Column>
          <ColumnName>Customer</ColumnName>
        </Column>
        <Column>
          <ColumnName>AddrCode</ColumnName>
          <ColumnKey>Yes</ColumnKey>
        </Column>
        <Column>
          <ColumnName>ShipToName</ColumnName>
        </Column>
        <Column>
          <ColumnName>ShipToAddr1</ColumnName>
        </Column>
        <Column>
          <ColumnName>ShipToAddr2</ColumnName>
        </Column>
        <Column>
          <ColumnName>ShipToAddr3</ColumnName>
        </Column>
        <Column>
          <ColumnName>ShipToAddr4</ColumnName>
        </Column>
        <Column>
          <ColumnName>ShipToAddr5</ColumnName>
        </Column>
        <Column>
          <ColumnName>ShipPostalCode</ColumnName>
        </Column>
        <Column>
          <ColumnName>Area</ColumnName>
        </Column>
        <Column>
          <ColumnName>State</ColumnName>
        </Column>
        <Column>
          <ColumnName>CountyZip</ColumnName>
        </Column>
        <Column>
          <ColumnName>City</ColumnName>
        </Column>
        <Column>
          <ColumnName>RouteCode</ColumnName>
        </Column>
        <Column>
          <ColumnName>GeographicArea</ColumnName>
        </Column>
      </BrowseDetails>
    </Browse>
  </xsl:template>
</xsl:stylesheet>