on 05-21-2007 8:06 AM
hi experts of xi.
i want to create UDF for counting no of records in body and checking with trailer countinfo and adding all contract account amounts in file body and checking with trailer sum.
if these 2 comparings r not matched then we have to set flag field 'N' else we have to set as Y'.
waiting for ur answer.
regards.
seeta ram.
Hi Seeta Ram,
Could you please send us sample source payload and structure if possible.
so that we can give you UDF code.
Cheers,
Jag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
pretty easy if you want to count number of lines (records)
two inputs (trailer and line segment)
and you can just compare it inside
then you can just return Y or N
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi michal thans for u r answer.
but what is the code for this i tried so many timed and i link it with message mapping but its not solved and one maore thing is i need to get file name by UDF and i i need to map this filename to target field.
i will be greatful to u r answer.
bye.
regards.
seeta ram.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.