Skip to Content
0
Former Member
May 23, 2008 at 03:36 AM

Header and Detail total mismatch

156 Views

Hi All,

I have file to proxy scenario, and i am using XSLT mapping for source to Traget mapping,

Here, I add all amounts in details and compare it to Header amount, issue is that although the totals are matching i am still getting total mismatch error.

The number have 2 decimal places.

This is the code that i am using:

<xsl:if test="format-number(number($vInvoice),'#.00') != format-number(sum(a:MT_PaymentData/RecordSet/RecordLineItem/LineItemAmount),'#.00')">

<xsl:value-of select="string('AmtMisMatch ')"/>

</xsl:if>

Pls advice,

XIer