bug-17939: Adding generic function for record retrieval