Hi All,
I am adding the GRPO document into Draft. The header and line details everything adding perfectly but the batchnum is not getting add in draft batchnum table. Please help me out.
This is my XML:
<xsl:template name="transform">
<b1im_multimsg xmlns="">
<xsl:for-each select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='C' and ./@id='atom1']/jdbc:ResultSet/jdbc:Row">
<b1im_msg>
<B1out type="object">
<Documents>
<row>
<DocDueDate>
20141210
</DocDueDate>
<CardCode>
<xsl:value-of select="jdbc:Cardcode/text()"/>
</CardCode>
<CardName>
<xsl:value-of select="jdbc:CardName/text()"/>
</CardName>
<DocObjectCode>20</DocObjectCode>
</row>
</Documents>
<Document_Lines>
<row>
<ItemCode>
<xsl:value-of select="jdbc:ItemCode/text()"/>
</ItemCode>
<ItemDescription>
<xsl:value-of select="jdbc:Description/text()"/>
</ItemDescription>
<Quantity>
<xsl:value-of select="jdbc:Quantity/text()"/>
</Quantity>
</row>
</Document_Lines>
<BatchNumbers>
<row>
<ItemCode>
<xsl:value-of select="jdbc:ItemCode/text()"/>
</ItemCode>
<DistNumber>
<xsl:value-of select="jdbc:BatchNum/text()"/>
</DistNumber>
<DocObjectCode>20</DocObjectCode>
</row>
</BatchNumbers>
</B1out>
</b1im_msg>
</xsl:for-each>
</b1im_multimsg>
</xsl:template>
</xsl:stylesheet>
its very urgent please some one help me out.
Add a comment