ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Frappe client insert issue


#1

I am using frappe.client.insert method to make enteries but i also had to trigger another frappe call on saving the doctype. and i am inserting multiple docs so how to save also on inserting


#2

What i want to do is after inserting that doc, save it also as by default as the docs inserted are not saved by default, untill i refresh the newly inserted one


#3

Hi @nikzz,

sorry, to me it is not quite clear what you are trying to achieve… I am guessing a custom script that uses frappe.client.insert, can you share some code snippets?


#4

Solved, Just changed my event to refresh and it worked like charm