Issue #21742:new metasql and functions for quote item list