Get notification before item expiration

How can I set up the erpnext to get notification before item expiration?
Thanks in advance.


You will need to write the daily scheduler which will check the criteria (like notify before 1,2,…n days before exiration) for the item expiration and send the notification mail for list of items about to expire.

You can get the list of item using either frappe.get_list or frappe.get_all method where you can apply the filters to check the item expiration date

please check the developer documents to know more about the Schedure Hooks.


1 Like