Premium support for our pure JavaScript UI components


Post by srr »

Hello,

Is it possible for the lag time to use a different calendar?

The scenario is we have 2 calendars, the first is working from 8am > 5pm Monday to Friday, and then a second calendar which works 24/7.

We have a process that involves painting an item, which uses the 8>5 calendar. The paint then needs 4 hours to dry and cure before the next process can start. That drying/curing time happens regardless of the time of day/calendar working times.

Currently if a painting process gets scheduled to finish at 5pm, the next process can't be scheduled until 12pm the following day, whereas in reality it would have finished drying by 9pm at night and the next process could begin at 8am the following day.

Is it possible to set the lag to use the 24/7 calendar to suit this scenario?

If not are there any alternative workarounds you can suggest?

Thanks


Post by alex.l »

Hi srr,

DependencyModel may have own calendar with working hours you want, please see docs https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/DependencyModel#field-calendar

The calendar of the dependency used to take lag duration into account.

All the best,
Alex


Post by srr »

That's great, i'll take a look into that.

Thanks Alex


Post Reply