Vendor and warehouse queries work