jagadish_inturi
ProductNo Mapping
When you are mapping ProductNo field use new getValue Context UDF,which takes constants as inputs.
UDF Source code as follows
public void getValue(String[] nodeno,String[] fno,ResultList result,Container container){
ArrayList tmp =(ArrayList)GAL.get(Integer.parseInt(nodeno[0]));
String Stmp = (tmp.get(Integer.parseInt(fno[0]))).toString();
if(!(Stmp.equals("$no$")))
result.addValue(Stmp);
else
result.addValue(ResultList.SUPPRESS);
}
ProductNo Mapping
When you are mapping ProductNo field use new getValue Context UDF,which takes constants as inputs.
UDF Source code as follows
public void getValue(String[] nodeno,String[] fno,ResultList result,Container container){
ArrayList tmp =(ArrayList)GAL.get(Integer.parseInt(nodeno[0]));
String Stmp = (tmp.get(Integer.parseInt(fno[0]))).toString();
if(!(Stmp.equals("$no$")))
result.addValue(Stmp);
else
result.addValue(ResultList.SUPPRESS);
}