When contributing to an enumerated field e.g. CURRENCY (15) does the field value have to be converted from the enumerated value "USD" to its integer value 840 before being contributed or can it be contributed without conversion.
When contributing to an enumerated field e.g. CURRENCY (15) does the field value have to be converted from the enumerated value "USD" to its integer value 840 before being contributed or can it be contributed without conversion.
Hi @Steven.
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If so, please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.
Thanks
AHS
Hi @Steven,
Yes, if all you have as input is the display code of "USD", you will need to convert that into the integer value of 840 before you build your payload. If all your input codes are string representations only of the enumerated value, you can utilize the loaded dictionaries within your application to lookup these codes.
You can find some reusable code segments within the RFA Examples (Common directory) which includes decoder classes which will help you here.