on 08-14-2007 5:24 PM
Hi
In my mapping i am checking the Total amount with the Trailer total amount and Total amount should be greater tha zero..
When i give the value of amount -11 it has to throw the Amount value should be grater than zero eception but it is throwing the Total amount mismatch exception..
How i achieve the correct excpetion error..
venkat
Hi,
check whether u have given correct condition or not ,it is due to the condition only your getting mismatch
map your Total amount with the Trailer total amount with condition Total amount greater then zero
can you pls explain clearly
Regards,
G.Varun kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Venkatesh,
When you pass any value to UDF, its always pass as a String...n I think you are trying to compare string with number...
if you just want to check if value is greater than "0" and not negative you can check first character in Amount field and compare with "-"..if it is "-" raise your user defined exception / alert.
Let me know if you need more details.
Nilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat!
What comparision are you doing? are you using numeric comparision inside an UDF or are you using standard mapping functions? Maybe you are comparing numbers as strings.
Regards,
Matias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.