How do you access mapping table if you need to match by two columns? I mean you have for example columns 'type', 'code' and 'description' where you must match the right type+code combination and output the description.

What I've had to do is to base64 decode, look for the field names I want, loop through it all etc..

An Ecmascript function or something similar would be lovely for that.