def METHOD_NAME(doctype, txt, searchfield, start, page_len, filters):
	child_doctypes = frappe.get_all(
		"DocField",
		filters={"fieldname": "serial_and_batch_bundle"},
		fields=["distinct parent as parent"],
	)
	query_filters = {"options": ["in", [d.parent for d in child_doctypes]]}
	if txt:
		query_filters["parent"] = ["like", "%{}%".format(txt)]
	return frappe.get_all("DocField", filters=query_filters, fields=["distinct parent"], as_list=True)