Query buffer object functions in New Procedures and Functions