Hi All,
I'm facing null handling issue. My input is having BigNumber. If this column is null or 0 i want to set value as -99999.
For this i am using user defind java class. there i'm facing below error.
QUOTE_KEY BigNumber : There was a data type error: the data type of java.lang.Integer object [-99999] does not correspond to value meta [BigNumber]
Code:
if(get(Fields.In, "QUOTE_KEY").getBigNumber(r)==null)
{
get(Fields.Out, "QUOTE_KEY").setValue(r, -99999);
}
The same logic is working for string function. Suggestions are welcome.. :)
I'm facing null handling issue. My input is having BigNumber. If this column is null or 0 i want to set value as -99999.
For this i am using user defind java class. there i'm facing below error.
QUOTE_KEY BigNumber : There was a data type error: the data type of java.lang.Integer object [-99999] does not correspond to value meta [BigNumber]
Code:
if(get(Fields.In, "QUOTE_KEY").getBigNumber(r)==null)
{
get(Fields.Out, "QUOTE_KEY").setValue(r, -99999);
}
The same logic is working for string function. Suggestions are welcome.. :)