Hi @Akshay_Chordia,
That for, Please apply the client script.
frappe.ui.form.on("Sales Order", {
refresh: function(frm) {
frm.set_query("customer_contact", function() {
return {
filters: [
["Dynamic Link","link_doctype", "=", "Customer"],
["Dynamic Link","link_name", "=", frm.doc.customer]
]
};
});
}
});
Then reload and check it.
Thank You!
