Hi, I have created a user defined function in message mapping and it works fine as it is but now the customer wants to changes something and I don't know how to implement it.
My current code which works:
String INVTnegCT="1";
String INVTposCT="2";
if (a.equals("INVTnegCT")
{
return INVTnegCT;
}
else {
return "INVTposCT";
}
But they want me to change neg/pos to -/+ for example INVTposCT to INVTCT but it seems that I can't use -/ in the function. is there a way to do it?
thanks for response!