Applying Vacation/Holiday/Leave to Drivers assignment to Delivery Trip

I just went through the documentation for Vacation/Holiday/Leave. I was able to allocate Leave to a driver, then able to have the driver apply for leave for a week… and then approve the driver’s leave.

I then go to Delivery Trip, where the driver gets assigned… i’d like to filter out Drivers who are on Vacation/Holiday/Leave for the Delivery Date. Can this be done?

Out of the box, What impact does a Driver/Users holiday schedule to other parts of ERPNext?

More generally… How can we use the Vacation schedule to alter the logic of other process workflows?

To do this you could add a validation on the Delivery Trip document using server scripts.

1 Like