Difference of frappe.call and frm.call

What is the difference of frappe.call and frm.call in function? What are the advantages and disadvantages of the two?

frm.call is limited to current doctype method that user is interacting with, while frappe.call is ajax call to any whitelisted methods from current site instance

5 Likes