Extend getrs with trans_code argument
#2563
Merged
getrs with trans_code argument
#2563