CyberStore Ecommerce 2023 Documentation
INVSPR

See the example of INVSPR 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="StockCode" />
  <xsl:param name="PriceCode" />
  <xsl:param name="SellingPrice" />
  <xsl:param name="PriceBasis" />
  <xsl:template match="/">
  <SetupInvPrice xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="INVSPRDOC.XSD">
    <Item>
      <Key>
        <StockCode>
          <xsl:value-of select="$StockCode" />
        </StockCode>
        <PriceCode>
          <xsl:value-of select="$PriceCode" />
        </PriceCode>
      </Key>
      <SellingPrice>
        <xsl:value-of select="$SellingPrice" />
      </SellingPrice>
      <PriceBasis>
        <xsl:value-of select="$PriceBasis" />
      </PriceBasis>
      <CommissionCode>0</CommissionCode>
    </Item>
  </SetupInvPrice>
  </xsl:template>
</xsl:stylesheet>