Custom adapter service

Hi all,

I have written custom adapter service which has 7 inputs which are numeric.i have to select codes based upon these inputs.for example inputs are 6600,6000,5550,6010 etc…
I am able to get codes correctly but while returning results ,the numbers are arranged in ascending order i.e… 5550,6000,6010,6600.since i have to map result set,I want to get output in same order as i have passed input values.

Thanks in advance!

I assume you are selecting values from some type of lookup or cross-reference table. Rather than focusing on the order of the returned values just include both the source and the target columns from your table, then you can just iterate over the result set to get the correctly translated values.