Create a datetime field which is added to Calendar

Hello,

Does anyone know how to create a Datetime Field which will be added to the Calendar?

I would like to create this Field within a new Quote called Next Contact By and have it shown on my Calendar. I already have it set up as an Email Alert, but my Sales people also want to have an overview in the Calendar.
This works already in the Lead Section where the Next Contact By field is linked to the Calendar and back.

This would be helpful to know for other parts in ERPnext as well in the future.

Thank you for have a looking at my question.

Best
Rutger from Amsterdam

1 Like

@Rutger you will have to create a quotation_calendar.js in the quotation folder like sales order https://github.com/frappe/erpnext/blob/develop/erpnext/selling/doctype/sales_order/sales_order_calendar.js and an equivalent get_events method

Hi Rushabh,

Thank you. Where can I find this example .js file of the Sales Order in the system?

Hopefully I would be able to create this part for the quotation part as well then.

Rutger