Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2878

Re: Multiple supplier ID entry in Material Master by Excel Customization

$
0
0

Hi All,

 

I got the solution by myself. It needs to add some codes like the following when it has one more fields in root schema.

 

Thank you so much for your advice.

 

<xsl:template match="*[starts-with(local-name(),'SupplierPartNumber__')]">

  <xsl:if test="SupplierInternalID != ''">

  <xsl:element name="SupplierPartNumber">

  <xsl:attribute name="actionCode">

  <xsl:value-of select="'04'"/>

  </xsl:attribute>

  <xsl:apply-templates/>

  </xsl:element>

  </xsl:if>

  </xsl:template>

 

<xsl:template match="SupplierPartNumber__1">

  <xsl:if test="SupplierPartNumber__1/SupplierInternalID != ''">

  <xsl:element name="Purchasing">

  <xsl:attribute name="actionCode">

  <xsl:value-of select="'04'"/>

  </xsl:attribute>

  <xsl:apply-templates/>

  </xsl:element>

  </xsl:if>

  </xsl:template>

  <xsl:template match="SupplierPartNumber__2">

  <xsl:if test="SupplierPartNumber__2/SupplierInternalID != ''">

  <xsl:element name="Purchasing">

  <xsl:attribute name="actionCode">

  <xsl:value-of select="'04'"/>

  </xsl:attribute>

  <xsl:apply-templates/>

  </xsl:element>

  </xsl:if>

  </xsl:template>

 

 

Thanks and Regards,

Thiri


Viewing all articles
Browse latest Browse all 2878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>