For a simple scenario, you can use a client script. For a complex scenario, you should use the frappe.call function.
1 Like
For a simple scenario, you can use a client script. For a complex scenario, you should use the frappe.call function.