Not able to fetch single document in frappe builder

data.docsdetail = frappe.get_all(‘Docs’,filters={‘designation’: frappe.form_dict.get(“document”)},fields=[“name”])
for record in data.jobdetail:
data.docs = frappe.get_doc(‘Docs’,record[“name”])

I want to fetch single document to get the child table data.