a field from customer doctype which is tax id then will link to sales invoice together with customer name
You will need to add the get_query in custom script for the field tax_id.
e.g.
cur_frm.fields_dict.tax_id.get_query = function(doc) {
return {
filters: {
customer: doc.customer
}
}
}
Thanks,
Makarand
2 Likes
just adding that query?
custom script for customer? or for sales invoice?
Thank you Sir ![]()
