Alejandro Revilla | 4 Feb 14:07

Re: Field data!

>
> Hello everyone! I'm new in JPOS and there's a thing I can't find, but 
> I think it should exist: I have my msg loaded, everything is working, 
> how can I get a field name if I know the id or the number of the 
> field? Cause with getValue() i have the value, but I wanna show the 
> field name
> 
The field name is related to the current packager, you can use
ISOMsg.getPackager() in order to get a reference to your packager,
and then ISOPackager.getFieldDescription(ISOMsg m, int fieldNUmber)

 

Gmane