on 05-07-2015 11:15 AM
Hi All,
I am facing strange problem in which I can see that my UDF is giving right output, context is also generating in display queue, but values is not populating at runtime(for CostCenter target field)
In UDF I am checking if E1P0001-->PLANS = E1P1005-->OBJID.
I have notices that this situation is coming only when number of E1P0001 segments are less than number of E1P1005 segments, otherwise in vice versa case it works fine.
Please let me know why this happening.
Regards,
Sachi
Hi,
Can you try adding mapWithDefault just after the UDF and then show us the display queue?
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hareesh,
Yes I have a condition to generate record nodes which is as follows:
getRecords have following code:
String a = "";
String flag = "";
for( int i=0; i<var1.length;i++){
if(var1[i].equals("true")){
for(int j=0;j<var2.length;j++){
flag = "";
for(int k=0;k<var3.length;k++){
if(var2[j]==var3[k])
{
a = "true";
result.addValue(a);
flag = "X";
break;
}
}
if (flag == "")
{
a = "false";
result.addValue(a);
}
}
}
}
regards,
Sachi
Hi Dubey,
There is out of sequence for your record node and cost center field, the first value of record node is suppress that is why you are not getting in the output file. You need to create same number of entries for record node and cost center field. (Record node without context change and cost center field is with context change)
Regards,
Praveen.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.