Cancelling several JVs once

Hi there,

I imported data by CSV file by wrong, and I need to delete them. The problem they are submitted and they are too much to cancel them one by one. Is there any way to cancel/delete several JVs together once?

I appreciate your help in this regards,

I think you should try make this in console. Change docstatus in all this data (use python for loop) and then frappe.db.commit().

1 Like