cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO CHECK THE SUM VALUE AS NAGETIVE OR POSITIVE

Former Member
0 Kudos

Hi All,

I have a requirement where i got a flat file where in the footer i got sum which may be positive or negative..(most of the time it is wrong)

So, in the mapping i calculate the sum and then send this to ouput, but the sign feild is not comming right.

If the incoming flat file is contains a negative( sum is also wrong) amount then i got a nagative sign in the output( but the sum is right )

For example ::

If the file contains a sum of <b> 100.00-</b> in the footor.

Xi takes the file calculate the right amount( <b>Suppose 50.00</b> ) but in the output file it is showing us as <b>50.00-</b>

I have a sign feild in the mapping in both inboud and outbound message type. I just want to show the right amount (which it is showing after calculating) with the right sign(which it is not showing.)

I will be glad for suggestion.\

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks guys,

it's solved...