Hi experts,
When I duplicate invoice with a unit price of 50, the new document in the target ignores this price and puts the price of the standard table. Anyone knows about it?! Below follow a my xsl transformation:
<B1out xmlns="" type="object">
<Documents>
<row>
<CardCode><xsl:value-of select="$msg/BOM/BO/Documents/row/CardCode"></xsl:value-of></CardCode>
<DocCurrency><xsl:value-of select="$msg/BOM/BO/Documents/row/DocCurrency"></xsl:value-of></DocCurrency>
<Reference1><xsl:value-of select="$msg/BOM/BO/Documents/row/Reference1"></xsl:value-of></Reference1>
<Reference2><xsl:value-of select="$msg/BOM/BO/Documents/row/Reference2"></xsl:value-of></Reference2>
<Comments><xsl:value-of select="$msg/BOM/BO/Documents/row/Comments"></xsl:value-of></Comments>
<DocDueDate><xsl:value-of select="$msg/BOM/BO/Documents/row/DocDueDate"></xsl:value-of></DocDueDate>
<PaymentGroupCode><xsl:value-of select="$msg/BOM/BO/Documents/row/PaymentGroupCode"></xsl:value-of></PaymentGroupCode>
</row>
</Documents>
<Document_Lines>
<xsl:for-each select="$msg/BOM/BO/Document_Lines/*">
<row>
<LineNum><xsl:value-of select="LineNum"></xsl:value-of></LineNum>
<ItemCode><xsl:value-of select="ItemCode"></xsl:value-of></ItemCode>
<Quantity><xsl:value-of select="Quantity"></xsl:value-of></Quantity>
<Price><xsl:value-of select="Price"></xsl:value-of></Price>
<Currency><xsl:value-of select="Currency"></xsl:value-of></Currency>
<TaxCode><xsl:value-of select="TaxCode"></xsl:value-of></TaxCode>
</row>
</xsl:for-each>
</Document_Lines>
</B1out>
Regards,
Leonardo Azevedo.