Back to photostream

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);

}

 

 

174 views
0 faves
0 comments
Uploaded on August 22, 2008
Taken on August 21, 2008