Try ERPNext Buy Support Partners Foundation

Cannot get_doc for BOM

frappe.get_doc('BOM',"BOM-00235922-001") will not work, but frappe.get_doc('Job Card', 'PO-JOB00010') will. why?