Hello,
Can anybody teach me how to add IN
and NOT IN
in the ERPNext Script Report filter.
Thanks in advance. SDG
Hello,
Can anybody teach me how to add IN
and NOT IN
in the ERPNext Script Report filter.
Thanks in advance. SDG
you can pass dict to filters parameter, for example
def get_data(filters):
filters_dict = {}
filters_dict["status"] = ["in", "Paid", "Unpaid"]
si_list = frappe.get_all("Sales Invoice", filters=filters_dict)
Thank you for the reply @PyJumper .
I want to achieve this kind of filter on report filters.