my code:
frappe.call({
"method": "frappe.client.get_value",
"async": false,
args: {
"async": false,
doctype: "Sales Order Item",
fieldname: "item_code",
filters: {
so_po_ref: ["=", frm.doc.sales_order_ref]
}
}
Versions:
ERPNext: v10.1.50-2500 () (staging)
Frappe Framework: v10.1.46-1808 () (staging)